Event Demonstrations

Each event below will change the background color. Try them all!

1. Mouse Over Event

Hover over this box to change the background color.

2. Double Click Event

Double-click this box to change the background color.

3. Key Down Event

Click inside this box, then press any key.

4. Mouse Up Event

Hold down the mouse button and release it inside this box.

5. Scroll Event

Scroll within this box to trigger the color change.

6. Focus Event

7. Select Event

Back to Home