CIS 111 Computers & Computation (07F)

- Web Programming w/ JavaScript

PA#1 - Welcome to XHTML and JavaScript - 30 pts

Readings

1. Read chapter 1 in Learning Javascript, by Shelley Powers

2. Write the XHTML and JavaScript that will produce the following:

3. The program should work as follows:

a. The page should open with a white (that's the default) background and the words "This is my first attempt at HTML and JavaScript" in large (h1) letters.

b. The background should then turn another color (yellow in this example) using JavaScript and a hexadecimal number for the color (NOT a color name).

c. A dialog box should then appear saying "I feel so powerful?".

d. The program should contain both HTML comments and JavaScript comments (one of each is fine, but you may have more).

4. Name the file: p1.html and put it in the p1 directory that you created in lab last week. If you don't remember how to do that, come and see one of us immediately. DO NOT email one of us your assignment. It will not be accepted as an email attachment. It must be in the p1 directory by 9:00 p.m. on Friday, October 5th.

5. HAVE FUN!

Policies  Syllabus  Topic Outline Office Hours Data Files Unix info Web Refs  XHTML  FAQs Lagerstrom site 

 

 









• All class mail will go to your uoregon account. Be sure to either read that account directly on a regular basis or forward the mail from that account to the account that you do read. Here's how to do that.


• Please download and install one of the Mozilla browsers: FireFox 0.8, or Mozilla 1.6 (select the "browser-only" install, if you do not want the IRC, email, etc., components).



Valid XHTML 1.0! Valid CSS! club.jpg
study.gif
prospective students
prospective students

     © 2003 by CIS Department, University of Oregon. About this site...
Site support: michaelh@cs.uoregon.edu