subject

In this lab, you will complete the implementation of a Medical Device Vunerability Scoring webpage. The purpose of this website is to return a score that numerically quantifies how vulnerable a specific vulnerability is to the particular attack. The properties of the system will be selected from a group of predetermined options, where each option is a styled radio button. Once options are selected for all possible properties, the website will display the vulnerability score (and hide the warning label). Implement a function called updateScore. This function must verify that one button from each property is selected.
Using JavaScript, add a click or change event listener to each radio button (Do not add the event listener to the button label). Notice that the radio buttons are hidden using CSS.
Once one button from each property is selected, the webpage should:
Hide the warning label by setting the display style of the with ID warning to none. Note: both none and hidden have similar visual effects, however none doesn't occupy any space, while hidden does occupy space, affecting the layout).
Compute the vulnerability score.
The score should be updated and displayed inside the with ID score.
The score must have a minimum of 0 and a maximum of 10.
The final score must be rounded up to the tenths decimal place, and displayed with one decimal place. Ex: If the final score is 7.311456, the score should be displayed as 7.4.
Once the score is being displayed, updating a property will automatically update the vulnerability score.
The score is computed as:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
You know the right answer?
In this lab, you will complete the implementation of a Medical Device Vunerability Scoring webpage....
Questions
question
Health, 20.02.2020 04:56
question
English, 20.02.2020 04:56
Questions on the website: 13722361