CSci 1001 Lab 6: Javascript forms and date/time fucntions.

Problem 1

Use this starting page and finish it so that when the button is clicked, the first entered color is set for the text in the div, and the second color is set for the text of the rest of the page.

Problem 2

Write a page that shows a different background at daytime (from 8am to 6pm) and at night (from 6pm to 8am). Use date/time functions given here. To test your program, you may reset time in the computer settings (in control panel).

At the end of the lab


CSci 1001 course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.