Problem with lottery game code

-1

Basically the code is to simulate a lottery, the user should try to guess one of the numbers in the array, if he can get it, he will be congratulated if he is not told that he missed, but when he does not do anything, p>

    
asked by anonymous 23.05.2018 / 16:56

1 answer

0

The id of the elements is case-sensitive.

No stretch

var botaoAdivinhar = document.getElementById('Adivinhar');

Change the id string 'Guess' by 'Guess'

    
23.05.2018 / 17:14