Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Tywyllich authored Dec 3, 2023
1 parent bbeb81d commit 2bfeb33
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 @@ -18,5 +18,10 @@ <h1>Mental Health</h1>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<button type="button">+1 Touch Grass</button>
</a>
function playMusic(){
var music = new Audio('musicfile.mp3');
music.play();
}
<input type="button" value="sound" onclick="playMusic()" />
</body>
</html>

0 comments on commit 2bfeb33

Please sign in to comment.