Learn Basic String and Array Methods by Building a Music Player

Hi, it’s been a while. My code is not being accepted. I checked it on VSC and it works. First, I forgot: how do I blur my code?

[spoiler]This text will be blurred[/spoiler]

This is how you add spoilers. And can we see your code?

Sure

let userData = {
songs : […allSongs]
};

The console is showing all songs in allSongs in songs. I dunno.

Your code is very valid.

I have a theory though. A lot of the new JavaScript curriculum is plagued by issues involving spacing. Can you remove the extra spaces before and after the : for me. I think that’s all you need to do for the lesson to pass.

1 Like

That was the issue. For anyone reading this thread: watch out for those spaces. Cheers @a2937

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