Programming in JavaScript – Week 2 Assignment
Starting with the downloadable assignment files, write the Javascript needed for the application. Use the book and lectures as a guide. In this assignment, you’ll use a prompt dialog box like the one below:
Users will input number grades from 0 to 100. Use the below table to derive the answer.
A 90-100
B 80-89
C 70-79
D 60-69
E 0-59
While the entry isn’t 999 to allow for multiple entries.
The alert box will display the letter grade for the number entered.
Open the letter_grade.html file in the Week 2 folder. Between the script tags write the application to convert numerical grades to letter grades. Add validation to ensure the entry is a valid number from 0 to 100. No need for a notification for a non-numerical entry. Add a message as you did in week 1 to the alert box with your first and last name. Create a document and paste in JS and/or HTML. Comment each code section with a detailed description of what it does. Once you’ve developed the application and saved it, test it in a browser then zip and submit all files to the Week 2 assignment. Add a screenshot of the running application on your computer showing the time/date on your screen at the time of testing.