+ 1
How do i play music in my music player ?
Hello solo learners, I'm very beginner in JS, i'm stucked. I wanna know why my song doesn't play on click olay button. Help me if you can. Thanks https://code.sololearn.com/W3q0YfW4XzRx/?ref=app
2 Answers
+ 4
3 errors are found:
1. Extra src="main.js" in script tag
2. getElementById('play') should be document.getElementById('play')
3. Not assign id="play" on button play element
+ 1
A big thanks to you buddy, those silly mistakes made me tired by trying again and again !! THANKS