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

Tell us what’s happening:

i have written the code twice and it tells me that my

  • attribute should have song-${song.id} does not make sense since i have already added it there and i would like to think that my template literals are also okay

    Your code so far

    <!-- file: index.html -->
    
    
    /* file: styles.css */
    
    
    /* file: script.js */
    // User Editable Region
    
    return `<li id="song-${song.id}" class="playlist-song">`;
    
    // User Editable Region
    

    Your browser information:

    User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 OPR/118.0.0.0

    Challenge Information:

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

  • What does an li element include?

    a closing tag thanks for that

    1 Like