Modify your grades.html page so that the labels and text boxes for the student’s grades align in columns.
What will be an ideal response?
```
Homework average: | |
Lab average: | |
Midterm score: | |
Exam score: |
onclick="homework=parseFloat(document.getElementById('homeworkBox').value); labs=parseFloat(document.getElementById('labsBox').value); midterm=parseFloat(document.getElementById('midtermBox').value); exam=parseFloat(document.getElementById('examBox').value);
average = homework*0.25 + labs*0.20 + midterm*0.25 + exam*0.30;
document.getElementById('outputDiv').innerHTML=
'Your overall course average is ' + average;">
```
Computer Science & Information Technology
You might also like to view...
Every theme has ____ standard colors.
A. 4 B. 8 C. 6 D. 10
Computer Science & Information Technology
When ________ values are changed, the pie chart percentages and pie slices are automatically recalculated and resized
A) worksheet B) formatted C) calculated D) displayed
Computer Science & Information Technology
Every Word document you create is based on a(n) ____.
A. figure B. index C. template D. narrative
Computer Science & Information Technology
What is sensitive to the order of additions to and removals from a binary tree?
a. the contents of the nodes b. the height of the tree c. the complexity of the links d. the implementation of the binary tree
Computer Science & Information Technology