When the button is clicked call a function that:
- Calculates the weighted average of the gradesentered: Test 1, Test 2, Exam,
Lab avg., Project, andQuiz/Homework avg.
- Use the weights given on your lecturewebpage.
- Test1, Test2, Final Exam Scores inserted by using the slider,and are available in the third column of the table (which waspopulated by the onclick or onchange event handler for the slider).To use in the calculation get the value from thetd (using getElementById) not from theslider.
- Writes the average in the tdat the bottom of the table in the row for theScore,
- And writes the associated letter grade in thetd near the
OROR