Closed AaryanSingh0017 closed 2 years ago
Plz Accep my PR under label Hacktoberfest and Hacktoberfest Accepted
script.js is not updated properly.
At the last, you will find two places where there is written a '12'. You have to change them to '13'.
Sorry i didn't get you in script i guess 12 is at only one place and after that 13 that i made a change.
You will find these 2 codes at the bottom of script.js file.
document.getElementById("next").addEventListener("click", () => {
if (songIndex >= 12) {
audioElement.onended = function() {
// change the song index to the index of next song, if the song is the last one in the playlist then the next should be the first one
if (songIndex >= 12)
Change 12 to 13 in them.
Done 👍 plz add the hacktoberfest 2022 and hacktoberfest accepted label