From 584deae548641689c5bc93f8f047c0af181e5e89 Mon Sep 17 00:00:00 2001 From: lublubuterbrodi Date: Wed, 30 Oct 2024 12:36:29 +0200 Subject: [PATCH] add task solution --- src/scripts/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scripts/main.js b/src/scripts/main.js index d14d754e..b9222200 100644 --- a/src/scripts/main.js +++ b/src/scripts/main.js @@ -75,6 +75,8 @@ startButton.addEventListener('click', () => { loseMessage.classList.add('hidden'); startButton.textContent = 'Restart'; startButton.style.fontSize = '16px'; + startButton.classList.remove('start'); + startButton.classList.add('restart'); startButton.blur(); });