From e00f28f5232ff4d0689ff9f8debdb75947e71a43 Mon Sep 17 00:00:00 2001 From: Mohamed Amine Date: Thu, 14 Mar 2024 01:10:11 +0000 Subject: [PATCH] Add display property to board element when time is up --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index a7e5e3e..83eabe8 100644 --- a/script.js +++ b/script.js @@ -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);