Change class and add styles for replay button
This commit is contained in:
parent
b5f29e21c7
commit
373c0adf6c
2 changed files with 8 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ function endGame() {
|
|||
}
|
||||
|
||||
newGame.textContent = "Play Again?";
|
||||
newGame.classList.add("button");
|
||||
newGame.classList.add("replay-button");
|
||||
newGame.addEventListener("click", resetGame);
|
||||
newDiv.appendChild(newGame);
|
||||
msg.appendChild(newDiv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue