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

Touch Event Order

Arrange touch events in the order they occur during a finger swipe across the screen:

Items to put in order

  • touchend - finger leaves the screen
  • touchmove - finger moves across the screen
  • Analyze deltaX/deltaY and emit a custom event
  • touchstart - finger touches the screen

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