JavaScript programs don't have to execute in order. They can detect events and react to them. A script that you create and use to detect and respond to an event is generally referred to as an event handler. Event handlers are among the most powerful features in JavaScript. Essentially, JavaScript uses a set of objects to store information about the various parts of a web page - buttons, links, images, windows, and so on. An event can also happen in more than one place and each event is associated with an object. Adding yet another layer to your work, this level of JavaScript will really make your web pages work.
After reviewing this resource, learners will be able to: