1. Create a file and name it lab14.html. Place this file in the Labs folder. Then, in this file, write the following program:
Ask the user to enter their score. If their score is less than 60 then the grade is an 'F', if the score is greater than or equal to 60 then and less than 70 then grade is a 'D', if the score is greater than or equal to 70 then and less than 80 then grade is a 'C', if the score is greater than or equal to 80 then and less than 90 then grade is a 'B', otherwise their grade is an 'A'. Then your program displays the grade with a proper message. For example, if the user enters 91 then your program should display the message saying: "Your grade based on your score of 91 is A!"
1. Upload the word document to Moodle (word doc with the link to this lab, screenshot of code, and the output).
2. Displayed message matches the condition in the program.
3. JavaScript code is formatted properly.
4. Create a link to this file in default.html page.
5. This page has a link to home and to default.html.
1. Create a file and name it lab15.html. Place this file in the Labs folder. Then, in this file, write the following program:
Ask the user to enter their age. If their age is greater than 16(inclusive) but less than 18(not inclusive), then print a message saying, "Given your age, you can only drive right now!", if their age is greater than 18(inclusive) but less than 21(not inclusive), then print a message saying, "You can Drive and Vote!", if their age is greater than or equal to 21, then print a message saying, "You can drive, vote, and have your own insurance!", otherwise print the message saying, "You are too young!". For example, if the user enters 20 then your program should display the message saying: "You can Drive and Vote!"
1. Upload the word document to Moodle (word doc with the link to this lab, screenshot of code, and the output).
2. Displayed message matches the condition in the program.
3. JavaScript code is formatted properly.
4. Create a link to this file in default.html page.
5. This page has a link to home and to default.html.
C = (5/9)*(F - 32)Technical Requirements:
1. Upload the word document to Moodle (word doc with the link to this lab, screenshot of code, and the output).
2. Displayed message matches the condition in the program.
3. JavaScript code is formatted properly.
4. Create a link to this file in default.html page.
5. This page has a link to home and to default.html.