Question
Consider the following Form to answer below questions: The form is used to enter grades for semester activities, the box before the slash represents student's
Consider the following Form to answer below questions:
The form is used to enter grades for semester activities, the box before the slash represents student's grade, while the other box represents the max grade. Note that max grade might be different
Q) Write a JavaScript code, that runs a function when the user clicks on Compute button. The function reads grades and max grade from the corresponding boxes, computes the average, then output on the page the following:
Your average is: 33
In your solution use the information in the following code that generates the form above
Grade Calculator / / Discussion Forum 1. Discussion Forum 2. Assignment 1 Assignment 2 add new grade ? Compute! Clear NMO 1Grade Calculator
2 3 4 Discussion Forum 1. | 5 6 7 Discussion Forum 2. | 8 9 10 Assignment 1. | 11 12 13 Assignment 2. | 14 15 16 add new grade ? 17 18Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started