WDV221 Intro Javascript

Project 3 - Operators and Textfields - Assignment


Please complete the following exercises on this page. When complete post this page to your server. Make a link in your WDV221 homework page for this assignment.

Include a comment in each script with the exercise number and a description of what the script is supposed to do.

Using Blackboard submit this Assignment.


Instructions

Use the form fields for the input values. For each of the following exercises create a function what will be activated by the button.

Enter a number for value 1:

Enter a number for value 2:

1. Display the value you entered for value1:

2. Display the value you entered for value2:

3. Display the value of value1 * value2:

4. Display the results of value1 + value2 in the following textfield.

5. Use the increment operator to add 1 to count and display the new value of count.