Glossary coding Term Page
Event handlers
functions that run when clicks
Core Idea
Event handlers is functions that run when clicks, input, or scroll events happen. Register them with addEventListener. It usually makes the most sense alongside DOM selectors, classList API, Event delegation.
Why It Matters Here
Mathbong reuses this term across javascript posts as shared vocabulary.