JavaScript's interaction with HTML is handled through events that occur when the user or the browser manipulates a page. When the page loads, it is called an event. When the user clicks a button, that click too is an event. Other examples include events like pressing any key, closing a window, resizing a window, etc.
Whenever you interact with your browser, your browser creates an event object. This event object has properties that describe that interaction. In order to convert any given event into productive work, we need to create an “event handler” and register it with an element object from the DOM.
Follow us on:
https://web.facebook.com/webevolution11
https://www.instagram.com/webevolution11/
https://web-evolution11.tumblr.com
Checkout Author:
https://m.youtube.com/channel/UCOyLv1KDDcdAntf9xLfxNvg
???