Prepare all questions from the array on the page as a


Question: Create a Web page that prompts the user for information, stores it in an array, performs a math operation, and writes the information out on the page. Requirements: Create a web page named lab2.html. You can format the page any way that you like.

Give the page a title and heading. In the body of the web page, after the heading, create an array that includes 3 trivia questions.

Create another array with 5 quotes of the day.

Prompt the user to enter a number.

Divide the number by 5 and get the remainder.

Use the remainder as the array index and write that quote to the page.

Prompt the user to enter a trivia question and store it as the last item in the array.

Delete the first item from the array and store it in a variable.

Prompt the user to enter a second trivia question and store it as the first item in the array.

Prepare all questions from the array on the page as a trivia quiz and prepare the deleted question stored in the variable as the bonus question.

You need to prepare a web page and add comments in code section that will be useful in the future.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: Prepare all questions from the array on the page as a
Reference No:- TGS0949097

Expected delivery within 24 Hours