🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: DOM and Events: all 10 questions

Quiz: DOM and Events · Question 5 of 10

Which event fires on every keystroke in a text input?

Which event fires on every keystroke in a text input?

  1. A.change
  2. B.input
  3. C.submit
  4. D.load
Answer & explanation

Correct answer: input

input fires on each change; change fires when the field loses focus.

Can you get the rest right without peeking?

Take the timed Quiz: DOM and Events quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →