Larger Text Normal Text Smaller Text

IT 180 Web Development I, Fall 2009

 

Lab Exercise 15: Using some JavaScript functions

For class session on 11/02

Use the Firefox browser.

Be srue to open the Error Console. Clear the console messages if necessary.

The problem

The user wants to calculate the amount to tip in a restaurant. The user will provide both the amount of the bill and the tip percentage to be used.

Requirements

The Lab 15 Start Page has a basic form already created.

Submit your work using Blackboard

Note

*To compute the tip, multiply by the decimal percent. If the entered amount is 15%, you must multiply by 0.15. Your script will have to divide the original value by 100.

Comments to: chang@hood.edu
Last Modified: 02 November 2009. 05:49

 

Hood College Department of Computer Science: Course materials © 1997-2007 by Elizabeth Chang.


 
Valid CSS! Valid XHTML 1.0!