+ 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

19th Oct 2021, 9:37 AM
Lucifer
Lucifer - avatar
2 ответов
+ 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
19th Oct 2021, 10:44 AM
Calviղ
Calviղ - avatar
+ 1
A big thanks to you buddy, those silly mistakes made me tired by trying again and again !! THANKS
19th Oct 2021, 3:39 PM
Lucifer
Lucifer - avatar