Ok people, hats are so cool and important. Perhaps one of the most iconic features of a culture is their headware. This program will show you an array of amazing and more unknown hats from around the world
This is a static page that displays a red background and the red image. Below here are all color images at once.
The goal of the demo is to store the color names, images and descriptions into arrays, randomly pick one, set the background color of the page to THAT color, then use document.write statements to dynamically display the correspondng image and text phrase.
Below are the images, all of which are in the http://iyawebdev.com/acad275/lecture_examples/arrays_colors directory/ on the server.