Event listeners add interactive functionality to the elements in our HTML which makes them a preffered method of handling events. But what exactly happens? When an element is clicked it triggers a response or an event in said element. It notices the...

Markdown supported · ⌘↵ to post
Sibusiso Dlamini
Computer Science Major @ Cape Town University
When would you want to stop an event from bubbling?