Browser Events
Respond to semantic browser events while preserving keyboard, pointer, and native control behavior.
Lesson introduction
Events report that something happened. The event type, target, currentTarget, timing, and default action form a contract between browser behavior and application code.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Enhance native buttons and a form with event listeners while preserving their built-in interaction contracts.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.