Click in order · JavaScript and TypeScript course · Module 8: Events and the DOM

Sort: Key Combinations

Arrange the code for checking the Ctrl+S combination.

Items to click

  • event.ctrlKey
  • &&
  • if (
  • event.key === 's') {

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