Pixel Pete saysForm events — submit, change, input, focus, blur — react to user data entry.
submit (on the form) fires on send — call preventDefault() to handle it in script. input fires on every value change (live); change when a field commits. focus/blur track entering/leaving fields. Reading input.value (or FormData) inside these handlers is how DHTML validated and processed forms without a reload.
Power-ups you unlock
submit on the form (preventDefault to script it)
input = live; change = on commit
focus/blur track field entry/exit
Read input.value or FormData in handlers
Quirks Mode attacks — common mistakes
Forgetting preventDefault on submit (page reloads)
Using change when you wanted live input
Reading the wrong property (value vs checked)
Boss battleCapture a form submit, read the input value, and show it without reloading.