Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhanshuupadhyay authored Apr 11, 2024
1 parent 275e322 commit 2463990
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2463990

Please sign in to comment.