Event Bubbling Concept
Concept Check Medium
Question
In event bubbling, how does an event propagate through the DOM?
Hint
Think of bubbles rising to the surface.
Explanation
In event bubbling (the default), an event starts at the target element and propagates upward through each ancestor to the document root. This lets you attach a single listener to a parent and handle events from all children — called event delegation. The opposite (root to target) is called capturing.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.