0
Why my music player is not working ?
The music and photes are not shown https://code.sololearn.com/WYgL0pVtdMpZ/?ref=app https://code.sololearn.com/WYgL0pVtdMpZ/?ref=app
1 Answer
+ 2
Harshal Patil
You have to give proper link of images. This is a live platform which storage device is located at some other place so you can't access your local device (PC) image anywhere on the internet.
So you need to upload images on any live website like Dropbox and get image links from there which will be accessible anywhere on the internet.
write whole JS code inside window.onload function because on Sololearn JS code runs before html code.
But remember your another function should be outside the window.onload function.
https://code.sololearn.com/WW6t4B73kJVz/?ref=app