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

Tell us what’s happening:

What am i doing wrong here i have tried to figure out what is wrong but i am unable to do it.

Your code so far

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

/* file: styles.css */

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

 const songsHTML = playlistSongs.innerHTML;

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

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

Hello!

“songsHtml” is already declared, you can use it without adding a variable.

Change the order of your assigment, playlistSongs.innerHTML comes first.

It can be confusing when it, for example, says “assign X to Y”: X is named first, but comes second after Y in the actual code, because Y will store X from that point on.