I am stuck on Basic JavaScript: Manipulating Complex ObjectsPassed in free code camp

it says i am wrong on the last one formats should be an array of strings with at least two elements
i have looked at the hint and copyed it but it still say’s im wrong

Hi again!

It would help if you provided your code and a link to the lesson.

Thanks!

i think this is it

Still need to see your code.

{
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CD",
      "8T",
      "LP"
    ],
    "gold": true
  }
// Add record here
  ,
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CD",
      "8T",
      "LP"
    ],
    "gold": true
  }

Why did you delete the myMusic array?

The objects need to be in the myMusic array in order for it to pass.

thanks it worked
i thought the writing on the side was a hint i didn’t know that it was what you had to do

for next question please:

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

ohhh thanks , it didn’t work before i joined this freecodecamp forum so i thought it wouldn’t work now i also didn’t know it was part of this forum :grinning:

jasper

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