Skip to content

Commit

Permalink
Align timer buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
gurbaxani committed Sep 15, 2024
1 parent 304f189 commit 4105c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ document.addEventListener('DOMContentLoaded', function () {
const bellSound = new Audio('sounds/bell.mp3'); // Update the path as needed

resultDiv.addEventListener('click', function() {
bellSound.currentTime = 0.25; // Restart the audio from the beginning
bellSound.currentTime = 0.5; // Restart the audio from the beginning
bellSound.play(); // Play the sound effect
});

Expand Down
1 change: 1 addition & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.timer-container {
display: flex;
align-items: center;
justify-content: center;
}

.timer-display {
Expand Down

0 comments on commit 4105c23

Please sign in to comment.