JavaScript Introduction | Events
What Is an Event?
An event means the occurrence of an incident related to an HTML element that the web browser reports.
JavaScript used on a web page can respond to events that occur in this way and perform specific actions.
Therefore, client-side JavaScript is called an asynchronous, event-driven programming model.