From the dawn of history browsers have supported event delegation.
We will use event delegation to run all our web application just with one event !
If you click on an element, the event will bubble all the way up to the document in search of event handlers to execute.
Event delegation allows you to avoid adding event listeners to specific nodes, instead, the event listener is added to one parent.
That event listener analyzes bubbled events to find a match on child elements.