Change class and add styles for replay button

This commit is contained in:
lolabird 2023-12-31 16:06:22 -07:00
commit 373c0adf6c
2 changed files with 8 additions and 1 deletions

View file

@ -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);