Question: Create a script named obtain.html which does the following. Has a form which does the following. Obtains a minimum value for the range. Obtains a

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

  • Has a form which does the following.
    • Obtains a minimum value for the range.
    • Obtains a maximum value for the range.
    • Has submit and reset buttons.
    • Has a default value of 1 for the minimum value.
    • Has a default value of 100 for the maximum value.
    • When the submit button is pressed, randomly generate an integer in the indicated range and store it for later. The game is "started".
    • 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!