'Check Code' button not working, what's wrong with my code? - Step 14

this is my code:

const renderSongs = (array) => {
  const songsHTML = array.map((song)=> {
return `<li id="song-${song.id}" class="playlist-song"> </li>`>
  })
};

I’m not too sure where I’m going wrong. I have my backticks with the correct syntax, but when I click ‘check code’, it doesn’t give me an error or tell me I’m correct, which from previous steps, it’ll usually do it if I’m wrong somewhere.

any help is appreciated, thank you in advance!

edit: realized my mistake after visually going through each character, lol. my backtick was not wrapping around my entire statement:

return `<li id="song-${song.id}" class="playlist-song"> </li>`>
               //have two greater than symbols in my closing 'li' tag

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.