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
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