COMP 426 Lab Assignments (total 10 points)
HTML
Create a HTML 4.01 valid page. (done) - 1 point
Create three different pages (linked to your home page)
That utilize - 2 points
a) Inline CSS
b) Document level CSS
c) External CSS
Ps: Use Css entirely to control the formatting. Use at least a couple
of DIV tags and format the tags beautifully. Why not explain your
project in COMP 426 anything that you have in your mind.
Java Script
Practice all the scripts that we have seen in class. Like
a) opening windows (with different options) and alerts, confirms and
prompt signals
b) All math. Functions
c) String operations like
a. inderOf b. Substring etc
d) Cookies - 2 points
a. Create a page that ask for user name and greets the user on return.
i. Create methods to set, get and delete cookies
b. Implement a counter that increments after each visit (combine with
a.)
e) Exploit the date Fuction
f) Print the browser information.
g) Create a new window and on parent window create a button that has
the effect of writing in the new window and closing the new window -
1
pointh) Create a form with -
2 points
a. Few Text fields
b. 1 Password Field
c.
d. Textarea
And check that none of them are empty when you submit the form.
Utilize the onblur() and onFocus() event handlers and finally print
the submitted texts in a Alert page.i)
As seen on class move a para of text around different locations on
the page randomly (after every refresh) - 1 point
j) Implement the mouseover effect on an image (change the image when
the mouse moves on top of it) -
1 point
home
Date of submission: 22nd March 2007 *Thursday*
Notes:
- If you are found copying from friends you will get a big ZERO. (No
excuses)
- Try to do it yourself or mention the sources that have been used.
- No extension of submission dates.