Go farther with Events

Learn concept of Event Propagation and cover all the important points related to event propagation.

Event propagation

The DOM represents a web page as a hierarchy of nodes. Events triggered on a child node are going to get triggered on the parent node, then the parent node of the parent node, up until the root of the DOM (the document variable). This is called event propagation. To see propagation in action, use this HTML code to create a small DOM hierarchy.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy