Computer science · lesson 3 of 4
JavaScript and browser behaviour
A browser occurrence such as a click, input or key press.
Learn the ideas
Prerequisites: Basic computer literacy.
Event
A browser occurrence such as a click, input or key press.
DOM
The object representation of a document that scripts can inspect and change.
State
Data representing the current condition of an interface.
Validation
Checking input against expected rules before using it.
Worked examples
Which term best matches this description: A browser occurrence such as a click, input or key press.
Event is the matching concept in this lesson.
Event
Which term best matches this description: The object representation of a document that scripts can inspect and change.
DOM is the matching concept in this lesson.
DOM
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.