Wednesday, June 10, 2009

HTML Lab 8

Cover the following w3schools.com JavaScript tutorials:
  • JS Home
  • JS Introduction
  • JS How To
  • JS Where To
  • JS Comments
  • JS Variables
  • JS Operators
  • JS Comparisons
  • JS If...Else
  • JS Switch
  • JS Popup Boxes
  • JS Functions
Complete the following lab exercise after that.

Concatenating 2 User Prompts and Displaying the Result in an Alert Box

1. Create an HTML page.
2. Add JavaScript that includes 2 prompts for input from the user.
3. Add JavaScript to concatenate these 2 input values together.
4. Display the result in an alert box.

No comments:

Post a Comment