From a0a247ff87d423ae9213b404411792accd9430f2 Mon Sep 17 00:00:00 2001 From: ArabPixel Date: Thu, 19 Jun 2025 09:12:08 +0200 Subject: [PATCH] fix: double click to reveal the answer --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index ff544eb..1b71d7a 100644 --- a/script.js +++ b/script.js @@ -45,7 +45,7 @@ questions.forEach(question => { const paragraph = parentCard.querySelector("p"); // Toggle paragraph visibility - if (paragraph.style.display === "none") { + if (paragraph.style.display === "none" || paragraph.style.display == '') { paragraph.style.display = "block"; } else {