Question: 2. Create an HTML file that creates a variable named Testscore. Use a prompt-function dialog box to ask the user to specify a value for

2. Create an HTML file that creates a variable named Testscore. Use a prompt-function dialog box to ask the user to specify a value for the variable. Then, use a series of if-else statements to display the corresponding grade based on the following: 90 to 100: A 80 to 89: B 70 to 79: C 60 to 69: D Below 60: F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!