javascript
Events in DOM (click, submit, input)javascriptLevel1
Progress0%
Contents
Events in DOM (click, submit, input)
1 / 13
Introduction
Events — click, submit, input
An event is something that happens in the browser — a user clicks a button, types in a field, submits a form, moves the mouse, or presses a key. JavaScript can listen for these events and run code in response.
This is what makes web pages interactive.