Explain Event Bubbling and Event Capturing.

bookmark

These relate to the propagation of the JavaScript event-listener from parent to child and in reverse.

Event Capturing: The event is handled by the outermost element, which is then propagated to the innermost element
Event Bubbling: The event is handled by the innermost element first and then propagated to the outermost element (reverse of event capturing)