1. Engineering
  2. Computer Science
  3. please do this task using javascript write code in javascript...

Question: please do this task using javascript write code in javascript...

Question details

Please do this task using JavaScript (write code in JavaScript). It is preferable to do this task in the environment “Google Docs”.

Create a table where students’ grades are stored. Let us suppose that students take 6 exams. Students’ grades range from 0 to 10.

Develop commands that let us:

1. Colorize in green the names of those students whose grades are higher than 5.

2. Colorize in red the names of those students whose grades are lower than 5.

3. Remove the colors.

4. Count the total number of all students.

Assign buttons to the corresponding commands.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution