Question: Program in javascript html undefined Description: Guess My Number Game Assume that this will compute a random number between 1 and 100 (BUT, I would

Program in javascript html

Program in javascript html undefined Description: Guess My Number Game Assume thatthis will compute a random number between 1 and 100 (BUT, Iundefined

Description: Guess My Number Game Assume that this will compute a random number between 1 and 100 (BUT, I would START with 1 through 10!): NOTE: This 'help' picks from 0 through 9. You must fix this line! Your program will generate a random number between 1 and 100 (including 1 and 100). Have your visitor guess a number (valid numbers are 1 to 100). You may wish to start with a number that is between (and including) 1 and 10. It is easier for error checking if the numbers are small. In a comment at the top of your html document, include the description, which may be simply a copy and paste. Also include your name and the date (See grading guide). Against everything you knew in Java, you DON'T need a while loop! You just invoke the function when the value has changed! This is NOT a loop! You are invoking the SAME function! Have the user enter his or her name. Define the limits for your user. (Use this name in the feedback below.) Have the user enter a Guess. Based on the guess: Guess too low: the function will give feedback that the guess is too low, Guess too high: the function will give feedback that the guess is too high, Guess is right! the function will a) give feedback that the guess is right and that they can start again if they enter a new number! b) pick a new random number. Your minimum is to match my game. You made add frills after you get it to work. In a comment at the top of your html document, include the description, which may be simply a copy and paste. Also include your name and the date (See grading guide). Against everything you knew in Java, you DON'T need a while loop! You just invoke the function when the value has changed! This is NOT a loop! You are invoking the SAME function! Have the user enter his or her name. Define the limits for your user. (Use this name in the feedback below.) Have the user enter a Guess. Based on the guess: Guess too low: the function will give feedback that the guess is too low, Guess too high: the function will give feedback that the guess is too high, Guess is right! the function will a) give feedback that the guess is right and that they can start again if they enter a new number! b) pick a new random number. Your minimum is to match my game. You made add frills after you get it to work. Output minimum: Guess My number! Guess My number! Valid numbers are: 1 through 100 Valid numbers are: 1 through 100 Enter your First NAME: Zenia Enter your First NAME: Zenia Enter your Guess: 75 Enter your Guess: 50 Zenia Your guess is too high Zenia Your guess is too low Guess My number! Valid numbers are: 1 through 100 Enter your First NAME: Zenia Enter your Guess: 65 Zenia You are right! Enter a new number to try 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!