WDV221 Intro Javascript

Final Exam Project

Math Operators

Javascript is used extensively with forms. Examples include shipping calculators, loan calculators, etc. Javascript is often used within a form to take information from the user, processes it and then displays it to the form in result fields.

The form is provided. You may need to change the form as needed. Please do all of your work on this page.

The Number Form

Number 1

Number 2

1. Display Number 1 and Number 2

2. Comparison Result: Display the larger number or a 'tie' result

3. Addition Result:

4. Multiplication Result:

5. Division Result:

 

Rubric: Points per task above

0 Not attempted

2 Displays a value

4 Displays the correct value using one or more functions.

5 Displays the correct value using a function to process and display for each task.

Extra Credit:

1-3 Display the correct value(s) using a funcion(s) that use parameters to process the data