Lab 5—Your First JavaScripts

Overview


In this lab, you will use JavaScript to create a header script, a body script, and a rotating "banner" of your four photos of yourself. You took the photos with PhotoShop on the Mac earlier in the course, with your cell phone, or a digital camera.

Each photo should be slightly different like the ones shown here, All four should be the same size and the same resolution (72dpi). Modify the images in PhotoShop or GIMP if necessary to make them the same size and resolution.

During this lab you will

  1. Create your first JavaScripts
  2. Understand the difference between header scripts and body scripts and how they behave.
  3. Print a numbered list of books to the page
  4. Use a for loop to print the list more efficiently
  5. Add action to a Web page.

 

First you will prepare a basic HTML page....

    next page

 

 

Ad Banner