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 the clear button. The function clears values of all boxes, but before clearing, reads the data from the boxes, print the value of each grade on the page as follow:

Discussion Forum 1: 2/3

Discussion Forum 2: 3/3

Assignment 1: 5/10

Assignment 2: 8/15

In your solution use the information in the following code that generates the form above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!