How to move a character on a screen with Javascript
This is a video tutorial on how to move a HTML element inside of a container by detecting a key press and move the element based on a key press. This is basic Javascript Game Development.
source