Lab: Create a Dropdown Menu

In this lab you should create a simple dropdown menu which should behave as follows:

Lab: Change the Color

In this lab you will set up an event listener to change the background color of a div when that div is clicked.

Change the Color Solution

When an event listener calls a callback function it passes the event as an argument to that function. The event is an object with some useful properties such as the `target`. `` is whatever HTML element triggered the event, so to get the background color of that element you can say ``.
```html Document
Change my Background!

Lab: Say Hello

In this lab you will set up an input form where you can enter a name, and the page will display text greeting that name.

Lab: Creating, and Modifying a List

In this lab you will create a user interface to programatically generate a list based on user input.

 Previous Next