-
Made with by Midblep
diff --git a/public/js/meow.js b/public/js/meow.js
index 1001a10..73ee2e8 100644
--- a/public/js/meow.js
+++ b/public/js/meow.js
@@ -1,6 +1,6 @@
const soundBtn = document.querySelector('#clickMeow');
-let myAudio = document.querySelector('#meow');
soundBtn.addEventListener('click',() => {
- myAudio.volume = 0.1;
- myAudio.play();
+ let meow = new Audio("/sounds/meow.mp3");
+ meow.volume = 0.1;
+ meow.play();
});
\ No newline at end of file
diff --git a/public/sound/meow.mp3 b/public/sounds/meow.mp3
similarity index 100%
rename from public/sound/meow.mp3
rename to public/sounds/meow.mp3