Test
parent
893d2b0e04
commit
30c862b467
2
index.js
2
index.js
|
@ -52,7 +52,7 @@ function listLocation() {
|
||||||
|
|
||||||
function win() {
|
function win() {
|
||||||
if (userInput.value.toLowerCase() === "win") {
|
if (userInput.value.toLowerCase() === "win") {
|
||||||
printBold("You Won! Refresh to play again!")
|
printBold("You Won! Refresh to play again!!")
|
||||||
document.getElementById("userInput").disabled = true;
|
document.getElementById("userInput").disabled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue