Test 2
parent
30c862b467
commit
93534f2832
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