WDV221 Intro Javascript

Unit-5 - Event Handlers Assignment

USE THE EVENT HANDLERS TO CHANGE THE PRESENTATION OF ELEMENTS ON THE PAGE.

Create one or more basic functions that will display an alert or write a message to the console.

Use the following event handlers in your page. Use both an HTML event handler AND a Javascript event handler calling different functions.

For this assigment there is no starter file. You will have to create your own HTML page.

Onclick:

Click "This Box" to see the assignment here

Onmouseover:

Hover over "Mouseover Box" to see the assignment here

Onmouseout:

Hover out from "Mouseout Box" to see the assignment here

Onchange:

Onload:

The onload event handler displayed an alert and logged a message when the window loaded.