JavaScript HTML Event Example

An example of using JavaScript to react to events.