1. Physical event happens—A physical event occurs. For example, a user clicks or moves the mouse or presses a key.
2. Events are triggered in the browser—The user interaction results in events being triggered by the web browser. Often, multiple events are triggered at the same time. For example, when a user presses a key on the keyboard, three events are triggered:
3. Browser creates an object for the event—The web browser creates a separate object for each event that is triggered. The objects ...