Question: Computer Guesses - Create a page that allows the user to think of a number from 1 to 100. Write a function that will guess

Computer Guesses - Create a page that allows the user to think of a number from 1 to 100. Write a function that will guess the number the user chose. The user will provide clues: higher or lower and correct. It should take no more than 7 guesses to get the correct number.

User Guesses - Create a page that generates a random number from 1 to 100. Allow the user only 7 guesses to guess the number. Provide clues: higher or lower and correct.

Computer Guesses - Create a page that allows the user to think Both pages have to link together were you can switch between the two using a button. In HTML.

Go to the user guess page Think of a number between 1 and 100 Guess 1: 52 Lower Guess 2: 26 Higher Guess 3:39 Hurray! I got it in 3 guesses! Play Again

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!