How events travel through the DOM tree.
- Category: JS Events — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "Event Bubbling and Capturing" in one sentence, then back it up with a tiny example
// Event Bubbling and Capturing — minimal example
console.log("Event Bubbling and Capturing");Tip
Quick recall: "Event Bubbling and Capturing" — how events travel through the DOM tree.