You can only play an audio file when a user allows it to play,
Which means that you have to add eventListener like "click" to trigger the play() method
Do it like this..
<div id="song"> play song</div>
Do some styling in css..
Var song = document.getElementById("song")
You need to put controls for audio, like this:
<audio controls src="" autoplay>
My advice: don't put autoplay attribute, it's very annoying from the users' point of view.
Cool code, you are doing great!