diff --git a/script.js b/script.js index bb4477a..2c2c621 100644 --- a/script.js +++ b/script.js @@ -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); diff --git a/style.css b/style.css index 9b16de1..599750e 100644 --- a/style.css +++ b/style.css @@ -37,6 +37,13 @@ main { font-size: 30px; } +.replay-button { + width: 200px; + height: auto; + margin: 5px; + font-size: 30px; +} + #rock { background-image: url("./images/rocks-576653_640.png"); background-size: cover;