From aef80d1bae25e41b275d067361bc2df29daa1748 Mon Sep 17 00:00:00 2001 From: Pranjal Rastogi <25995849+PjrCodes@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:42:11 +0530 Subject: [PATCH] Update script.js --- script.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script.js b/script.js index 9bc6955..5f8bc27 100755 --- a/script.js +++ b/script.js @@ -239,6 +239,9 @@ function submitPrompt(event) { return; } promptsTaken += 1; + if (promptsTaken % 29 == 0) { + promptsTaken = 0; + } counter.textContent = promptsTaken.toString(); getResponse(input.value);