Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm stuck on this. Need some help. In HTML , create a web page that contains a form with five text boxes labeled: Last score

I'm stuck on this. Need some help.

  1. In HTML, create a web page that contains a form with five text boxes labeled:
    • Last score entered.
    • Total of scores
    • Average of scores.
    • Highest score.
    • Lowest score.
  2. In Javascript, add a button to the form. When the button is pressed, prompt the user to enter a test score between 0 and 100 =or= to enter 999 in order to end the program.
    • When the user enters 999, the prompt should no longer re-appear
    • If the user enters a non-numerical value, the prompt should re-appear, with an updated message indicating that there was an error in the input
    • If the user enters a value less than zero or more than 100, the prompt should re-appear, with an updated message indicating the error in the input
    • If the user enters a value between zero and 100:
      • Update variables to store the most recently entered value, the new total, the new average, a new best score (if applicable) and a new worst score (if applicable)
      • The prompt should re-appear to allow users to enter a new value
    • When the loop is complete, the last entered score, the total of scores, the average score, the best score and the worst score should all display on the page

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

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago