Wednesday, December 1, 2010

The web page assignment:

Everything as described here:
http://eniac.cs.qc.edu/~svitak/cs12/webpageassign.html

Plus:
1) Use an external CSS file to style the webpages (for example, to make all the backgrounds the same image, or green; to make all paragraphs of some type (e.g. "topic paragraph") centered.

e.g.
in the main CSS file
p.topic {text-align:center;}

in an individual HTML page

This paragraph will be center-aligned.


2) Make a form which prompts for First Name and Last Name, and button to Submit.

Recall, w3schools has enough to let you do this with simple cut and paste.

This will be hooked up to a PHP program which will greet the person by the full name. "Hello, FirstName LastName".

Recall, w3schools has enough to let you do this with slight modifications from the section PHP Forms.

3) Using JavaScript, make a webpage with a button. When you click on the button, make the caption of the button become "Hello World".

No comments:

Post a Comment