This commit is contained in:
Juli 2024-07-13 14:02:57 +03:00
parent faf5ea64b4
commit 99089b5d49
2 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@
<div class="footer_text" <p>&copy; <?php echo date(
"Y"
); ?> Juli. All rights reserved.</p><br>
<p>Utilizes <a href="https://github.com/adryd325/oneko.js">oneko.js</a></p>
<p>Cat made with <a href="https://github.com/adryd325/oneko.js">oneko.js</a></p>
</div>

View file

@ -1,10 +1,9 @@
function boop() {
var audio = new Audio('/static/assets/audio/Boop.mp3');
audio.play();
}
document.addEventListener('DOMContentLoaded', function() {
var image = document.getElementById("myImg")
image.addEventListener("click", boop)
var image = document.getElementById("myImg");
image.addEventListener("click", boop);
}, false);