Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help urgent! Tasks: Create a web page that allows a user to take a quiz with 5 questions. There should be at least one

Need help urgent!

image text in transcribed

Tasks: Create a web page that allows a user to take a quiz with 5 questions. There should be at least one question with True/False, one question where the answer is a number and one question where the answer is a word/string. The other 2 questions can be any of these types as you choose. User should be able to attempt a question by clicking a button for each question. Once the user attempts a question, it should update the user whether the answer is correct/incorrect by displaying the word "Correct" or "Incorrect" in front ofear the button used to attempt that question. The colour of the word "Correct" should be different from the colour of the word "Incorrect". The colours are your choice. After each question is attempted, the total score on the page should be updated. For the question, where the answer is a numeric value, if the user inputs some value that is not a number, the program should notify the user and ask for a numeric value again as long as the user does not enter a numeric value. For the True/False question use the confirm dialog box and treat "ok" as true and "cancel" as false. Make sure to add some CSS to the page to make it user friendly and appealing to the user. Design is your choice. I have attached a few screenshots that may help you understand the tasks better. Tasks: Create a web page that allows a user to take a quiz with 5 questions. There should be at least one question with True/False, one question where the answer is a number and one question where the answer is a word/string. The other 2 questions can be any of these types as you choose. User should be able to attempt a question by clicking a button for each question. Once the user attempts a question, it should update the user whether the answer is correct/incorrect by displaying the word "Correct" or "Incorrect" in front ofear the button used to attempt that question. The colour of the word "Correct" should be different from the colour of the word "Incorrect". The colours are your choice. After each question is attempted, the total score on the page should be updated. For the question, where the answer is a numeric value, if the user inputs some value that is not a number, the program should notify the user and ask for a numeric value again as long as the user does not enter a numeric value. For the True/False question use the confirm dialog box and treat "ok" as true and "cancel" as false. Make sure to add some CSS to the page to make it user friendly and appealing to the user. Design is your choice. I have attached a few screenshots that may help you understand the tasks better

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions