Skip to content

Commit

Permalink
Add display property to board element when time is up
Browse files Browse the repository at this point in the history
  • Loading branch information
MA-Abahmane committed Mar 14, 2024
1 parent 4c19d81 commit e00f28f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function Showball() {
if (timeLeft <= 0) {
clearInterval(idItr);
alert("Time's up! You Won " + points.innerHTML + " spades!!");
board.style.display = "flex";
}

let minutes = Math.floor(timeLeft / 60);
Expand Down

0 comments on commit e00f28f

Please sign in to comment.