What is Event Propagation ?
introduction
so when an event occurs to any DOM element lets say there is an event onClick event that occurs in the button.
Bubbling Phase: the event will move from the DOM element all the way to the Window
Capturing Phase: the event travels from window to all the way to the particular DOM element
Target Phase: the event has reached the target phase.