The "event" Object The "event" object holds information about the event passed as parameter to the event handling function btn.onclick = function (event) { alert (event); } The event object contains information about: The type of the event (e.g. Each handler can access event object properties: event.target - the deepest element that originated the event. Mouse button. The second advantage that addEventListener() has over the older mechanisms discussed here earlier is that it allows you to register multiple handlers for the same listener. You don't need to understand anything about other such environments at this stage in your learning; we just wanted to make it clear that events can differ in different programming environments. Bubbling also allows us to take advantage of event delegation — this concept relies on the fact that if you want some code to run when you select any one of a large number of child elements, you can set the event listener on their parent and have events that happen on them bubble up to their parent rather than having to set the event listener on every child individually. The JavaScript addEventListener() method allows you to set up functions to be called when a specified event happens, such as when a user clicks a button. The above example invokes a function defined inside a