Event Phases in JavaScript: Capturing, Target and Bubbling Explained
Have you ever added a click listener to a button, but the parent div also fired? You did not click the parent — so why did it fire? The answer is event phases. And once you understand how events trave
mithila-javascript.hashnode.dev5 min read