logo CodeStepByStep logo

eventLifeCycle

Language/Type: JavaScript events
Author: Melissa Hovik (on 2016/09/25)

The following steps represent part of an event's life cycle. Label each with their respective step (1 being the first step and 4 being the last step in the event's life cycle).

An event occurs (e.g., a click)
Some JavaScript code runs in response
The page's appearance is updated in some way as a result
User interacts with the page (e.g., presses the left mouse button on a text input)

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.