about me
hello ! This is a page for ''tutorials'' for absolute beginners like me. Not even tutorials but just stuff you can directly copy paste to your blog.
Simple audio button, click to play, click again to pause.
Replace the
pink parts with the link to your audio (you can host it on catbox.moe). Make sure your
ids are different for each audio you add
<audio id="audio" src="https://files.catbox.moe/ your audio.mp3"></audio>
<button onclick="let a = document.getElementById('audio'); a.paused ? a.play() : a.pause()">AUDIO NAME</button>