Event Bubbling & Capturing
What does the eventPhase property indicate?
element.addEventListener('click', e => {
if (e.eventPhase === 1) console.log('Capturing');
if (e.eventPhase === 2) console.log('Target');
if (e.eventPhase === 3) console.log('Bubbling');
});