sound on click

116

sound on click -

<button onclick="playSound()">Play</button>

<script>
let playSound = () => new Audio("src.mp3").play();
</scirpt>

Comments

Submit
0 Comments