I'm creating a small music player web app, everything works fine, I have a problem:
I want to create a playlist for it too and I'm kind of beginner in JS and I don't know how to create the logic for that (every time user click on a specific song title in playlist, play that exact song which he just clicked)I stored songs in a Array
Source code: https://yun.ir/qnrk56