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

Tell us what’s happening:

return <li id="song-${song.id}" class="playlist-song">${song.title}</li>; what am I missing

Your code so far

<!-- file: index.html -->

/* file: script.js */
// User Editable Region

return `<li id="song-${song.id}" class="playlist-song">${song.title}</li>`;

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

Challenge Information:

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

I don’t think the istructions ask for element text

only what is requested by the istructions, if you do more you have no garantee it passes

Removed it and it now works. Thank you :smile: