diff --git a/script.js b/script.js index c8dae07..eed3a92 100644 --- a/script.js +++ b/script.js @@ -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 }); diff --git a/styles.css b/styles.css index 1c307c2..1f8b523 100644 --- a/styles.css +++ b/styles.css @@ -7,6 +7,7 @@ .timer-container { display: flex; align-items: center; + justify-content: center; } .timer-display {