Skip to content

Commit 90aeb73

Browse files
authored
Add files via upload
1 parent 8720d1f commit 90aeb73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: index.html

+2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@
2424
overlayToggle.addEventListener('change', function() {
2525
if (this.checked) {
2626
overlay.style.display = 'block'; // Show overlay when checked
27+
audio.volume = 0.2; // Set volume to 20%
2728
audio.play(); // Play the audio
2829
} else {
2930
overlay.style.display = 'none'; // Hide overlay when unchecked
31+
audio.volume = 0.2; // Set volume to 20%
3032
audio.pause(); // Pause the audio
3133
}
3234
});

0 commit comments

Comments
 (0)