$begingroup$

I’ve a small picture (30×30 px) I wish to use as a sprite on a Javascript display to indicate college students what Javascript can do. (They wish to create video games.) How do I hyperlink the picture file to my Javascript program so I can work with the picture as a sprite and, say, use keystrokes to maneuver it round? I don’t want any animations. A easy Javascript code instance would assist. Thanks from a beginner. –Jon

Jonathan Titus is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Try our Code of Conduct.

$endgroup$

You will need to log in to reply this query.