hajim urcs
Computer Science @ Rochester

DMS102/CSC170D: Introduction to Web Development
Spring 2013

Assignment 3: Scripts and Variables

  1. [3 pts] Create a page that uses only a Javascript script element in the body of the document to create the following content: Concentrate on making your scripts readable/understandable (as well as correct).
  2. [3 pts] Create a page that asks the user for their name and their favorite color and displays them in the body of the page.
  3. [3 pts] Extend your previous script so that the favorite color is displayed in that color. You may assume that the color is one of the predefined CSS color names.
  4. [3 pts] Create a page that asks a user first for their name, then for their favorite color, and then for their phone number and displays the results as a table in the page.

Things to think about

Last update: Thursday, 07-Feb-2013 09:45:46 EST