So basically I need to create 1 input and 1 button. Also create random number from 0 to 20 using Random.math and I have to guess the number. If the written number is incorrect it should pop alert that number is incorrect. If it’s correct the game should end and print how many times I tried to guess the number also I shouldn’t be able to write another number after correct answer.
Aucun commentaire:
Enregistrer un commentaire