JavaScript Lab 1

In this lab, you will go through the instructions on this page.

Each time you see a comment, you will modify the contents between the <script> tags below it so that the code does what the comment requests.

The first example is done for you. Example code for all of these is on the class slides.

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8