Question: Make sure the correct number is only shown after 5 incorrect tries. Using html and JavaScript. Using a for loop make a program that choses

 Make sure the correct number is only shown after 5 incorrect
Make sure the correct number is only shown after 5 incorrect tries.

Using html and JavaScript. Using a for loop make a program that choses a randome number from 1 and 10. The user gets 5 guesses, if their wrong tell them. If they're right, tell them and break the loop. At the end show the real number

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!