Daily Archives

One Article

Uncategorized

DOM Events

Posted by Danial on

DOM events are user events that a web browser monitors to provide interactivity in the website.

https://www.w3schools.com/js/pic_htmltree.gif
https://www.w3schools.com/js/pic_htmltree.gif

When listening to user events, it’s important to set the id of the different buttons that you want to monitor (using id preferred over class as there is a slight performance improvement).