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

Tell us what’s happening:

Hey all,

Racking my brain trying to figure out why my code isn’t passing but I can’t figure it out. Would you mind helping me with this?

Thanks!

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0

Challenge Information:

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

Step 62

Inside the function, obtain references to the HTML elements responsible for displaying the song title and artist.

Access the #player-song-title and #player-song-artist elements with the getElementById() method. Assign them to variables playingSong and songArtist respectively.

const setPlayerDisplay = () => {
const songArtist = document.getElementbyId(“player-song-artist”);
const playingSong = document.getElementbyId(“player-song-title”);
};

Do you remember camelcasing?

1 Like

Yes I’m dumb! didn’t review my code closely enough, thanks!

1 Like

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