A method that attaches an event handler to the specified element
For example attaching a click event to a button
The function listens out for the event and then responds once that action occurs. The event handler tell the function how to respond to the above action