Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a script named guess.html which does the following. [40 points] Has a Start New Game form which does the following. [5 points] Obtains a

Create a script named "guess.html" which does the following.

  • [40 points] Has a "Start New Game" form which does the following.
    • [5 points] Obtains a minimum value for the range.
    • [5 points] Obtains a maximum value for the range.
    • [5 points] Has submit and reset buttons.
    • [5 points] Has a default value of 1 for the minimum value.
    • [5 points] Has a default value of 100 for the maximum value.
    • [10 points] When the submit button is pressed, randomly generate an integer in the indicated range and store it for later. The game is "started".
    • [5 points] Do not allow the game to start if the maximum is less than the minimum or if either quantity is negative.

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

Accounting For Small Business 2023

Authors: Martin J. Kallman

1st Edition

180171925X, 978-1801719254

Students also viewed these Databases questions