Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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 AgainStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started