← 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?
- A.change
- B.input
- C.submit
- 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 →