Lab 23: Welcome Back to Koozebane

For Lab 23, you are to revisit the Koozebane lab, but this time you are to use an array and a switch statement. You are to create a dynamic web page and upload it to isis under your onyen as index.html in a folder named Lab23. That means that we will be able to access it using http://www.unc.edu/~onyen/Lab23. The formatting has been kep the same to minimize the changes that are needed. The content of the page is the to be two lines and one picture, all centered: The first line is to be static and is to read

The second line is to be generated with JavaScript and is to be generated based on a random number. It is to read one of the following. The probability of each one should be the same. This line is to be generated using a switch statement.

Below the text is to be the guide's picture. All pictures are to be the same width. You are to have the files names in an array and select the correct one using an index. You should save the following images in your Lab23 folder. Remember that you need all four images.

Kermit Miss Piggy Oscar Cookie Monster

By submitting the lab you are pledging that you have neither given nor received unauthorized help.