JS beginner to expert, study notes-6 (sec-11 Events) part-2

Propagation of events: Events are propagated from lower to upper level. A parent div has many child div or other elements. Now, consider both parent div and a child div has individual onclick event listener. If we want that only child div’s event  will be fired then we have to prevent the propagation of event.