Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
