visuco
Challenge 2 of 16

keyCode holds a number saying which key it was, and there are names for the ones without letters. Only a press of the right arrow should move this box, and the other presses should do nothing.

Set the key to compare against.

Your code JavaScript

Set the key to compare against.

0 / 48 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge