Question · JavaScript and TypeScript course · Module 8: Events and the DOM

Quiz: Keyboard Events

Which keyboard event does the browser send when any key is pressed (including Shift, Ctrl or the arrow keys) and repeat while the key is held down?

Answer options

  • keyhold
  • keyup
  • keydown
  • keypress

You can check the correct answer by solving this task in the CodeWorlds game.