Skip to content

Commit

Permalink
Adjust lets play again message
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Dec 5, 2023
1 parent 4772803 commit c9681c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ function letsPlayDragon() {
letsPlayBtn.addEventListener("click", playAgain);

function playAgain() {
letsPlayBtn.innerText = "Let's play!";
msgWin.innerHTML = "<h2>Let's play!</h2>";
letsPlayBtn.style.backgroundColor = "white";
letsPlayBtn.style.color = "#F6A38E";
letsPlayBtn.style.fontSize = "32px";
msgWin.style.color = "white";
msgWin.style.color = "#F6A38E";
msgWin.style.fontSize = "48px";
// msgWin.style.color = "white";
gameOver = false;
boxes.forEach((box) => {
box.innerText = "";
Expand Down

0 comments on commit c9681c7

Please sign in to comment.