Learn Basic String and Array Methods by Building a Music Player - Step 31

Tell us what’s happening: I am pretty sure I have the right solution but the checker keeps marking it wrong.

I have double checked the code by comparing it to the next step and it is the same. I have even copied the code from the next step yet it still keeps marking it as wrong. Is this some kind of bug or am I doing something wrong?

Your code so far

<button class="playlist-song-info" onclick="playSong(${song.id})">
    <span class="playlist-song-title"">${song.title}</span>
    <span class="playlist-song-artist">${song.artist}</span>
    <span class="playlist-song-duration">${song.duration}</span>
</button>

Challenge Information:

Learn Basic String and Array Methods by Building a Music Player - Step 31

1 Like

You added an extra quotation mark in here.

If you are absolutely sure you are doing it correctly but it is still not passing then there is a good chance you have made an accidental change somewhere you are not seeing. Try resetting the step to get the original code back and then be very careful not to change anything that shouldn’t be changed.

1 Like

I apologize for not noticing beforehand. Thank you for helping! I will keep that in mind moving forward.

No need to apologize. It happens to the best of us.

2 Likes