What is an Event

An event is a message that is dispatched to the event target. There are various categories of events like user events (‘click’) and system events (‘DOMContentLoaded’) etc.