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

Tell us what’s happening:

I’m following the provided syntax but it’s still not working.

Your code so far

const renderSongs = ([]);

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_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

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

3 Likes

You have a couple issues here.

The first one is the incorrect syntax for an arrow function.

This is what an arrow function looks like

const functionName = () => {};

You want to make sure your answer looks like that but with the actual function name.

For the parameter, it wants you to pass the word array not []

once you fix those things, then it will pass

5 Likes

A post was split to a new topic: Need help with step 11 of music player project