Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorithm authored Feb 17, 2024
1 parent d76314b commit 8720d1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,19 @@
overlayToggle.addEventListener('change', function() {
if (this.checked) {
overlay.style.display = 'block'; // Show overlay when checked
audio.play(); // Play the audio
} else {
overlay.style.display = 'none'; // Hide overlay when unchecked
audio.pause(); // Pause the audio
}
});
});

</script>

<!-- Embedding the MP3 file -->
<audio id="audio" src="./assets/audio/terminal_sounds.mp3"></audio>

<!--
.dXWMMMMMMMMWXd.
Expand Down

0 comments on commit 8720d1f

Please sign in to comment.