Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed 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

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

T Sql Fundamentals

Authors: Itzik Ben Gan

4th Edition

0138102104, 978-0138102104

More Books

Students also viewed these Databases questions

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago