+ 1
Please,help! JS code
I have this js code for a game. The point of game is - there is a random words and the player should guess the word selecting letters one by one. But I need to equate uppercase letters to lowercase letters. Because, if there is a word "cat" and the player chooses "A" or "C" or "T" it will not work.... It works only with lowercase letters! I will appreciate any help! Thanks in advance!!! The code is here https://code.sololearn.com/WGfIIrRNruyL/?ref=app
1 Resposta
+ 1
I understand that is has to be.toLowerCase() but cannot get it where exactly....