From 246399022b58f7630c5e24ad1b4330f3a62f1877 Mon Sep 17 00:00:00 2001 From: Subhanshuupadhyay <72140136+Subhanshuupadhyay@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:47:38 +0530 Subject: [PATCH] Update script.js --- script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script.js b/script.js index ed63963..18d9456 100644 --- a/script.js +++ b/script.js @@ -201,6 +201,10 @@ function startFocusTimer() { updateSessionCounter(); } +document.getElementById("creditsButton").addEventListener("click", function() { + // Replace "https://example.com" with the URL of the website you want to redirect users to + window.open("https://google.com"); + function startBreakTimer() { // Your existing code to start break timer