WEB 2153  -  CSS/XHTML  #8564
Instructor: Donna Wilson  -  Online

David's Class Website

David's Client Website

Blog Link

Back to Assignment List

 

Hover for a welcome message.

Move your mouse pointer here for a welcome message.

Welcome Page

Name and Age

Favorite Color

Javascript Assignment

Complete these Javascript Tutorials 

  1. Write the XHTML tag and event handler to pop up an alert message that says "Welcome" when the user clicks a button.
  2. Write the XHTML tag and event handler to pop up an alert message that says "Welcome" when the user moves the mouse pointer over a hypertext link that says “Hover for a welcome message”.
  3. Write the XHTML tag and event handler to pop up an alert message that says "Welcome" when the user moves the mouse pointer away from a hypertext link that says “Move your mouse pointer here for a welcome message”.
  4. Create a Web Page that will pop up an alert message welcoming the user to the Web page. Use a script block in the <head> area for this task.
  5. Create a Web Page that will prompt the user for a name and age, and write the message using the name and age in the message. Use the prompt () method and the variables to accomplish this.
  6. Create a Web Page that will prompt the user for a color name. Use this color name to write the text "This is your favorite color!". The fgcolor property of the document changes the text color of all text in a document.  Use this property to accomplish this task.