Skip to content

Commit

Permalink
Update home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AadityaKandel authored Nov 20, 2024
1 parent 9796bb5 commit 5b44976
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<script>
function PlayandAnimate(){
document.getElementById('items').style.animationName="letzgoo";
document.getElementById('items').style.background="url('paws.png')";
document.getElementById('items').style.backgroundSize='contain';
document.getElementById('invisible').style.opacity='0%';
document.getElementById('audio').play();
}
</script>
Expand All @@ -33,12 +36,12 @@ <h1>COOL CAT</h1>
<div class="main">

<div class="items" id="items" onclick="PlayandAnimate()">
<p>HUMAN, USE YOUR PAWS, TAP HERE & LETS ROCK!!</p>
<p id="invisible">HUMAN! USE YOUR PAWS, TAP HERE & LETS ROCK!!</p>
</div>

</div>

<audio id="audio" src="cat1.mp3" loop></audio>

</body>
</html>
</html>

0 comments on commit 5b44976

Please sign in to comment.