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

Sort: Input Validation

Arrange the code for real-time input validation.

Items to click

  • input.addEventListener(
  • });
  • validate(e.target.value)
  • , (e) => {
  • 'input'

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