Manipulating complex objects lesson

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
const myMusic = [
{
  "artist": "Billy Joel",
  "title": "Piano Man",
  "release_year": 1973,
  "formats": [
    "CD",
    "8T",
    "LP"
  ],
  "gold": true

   {
   "artist": "Billy Idol",
  "Title": "White Wedding",
  "release_year": "1982",
  "formats":  [
    "cd",
    "vinyl",
  ]
   }
];
  

I have been working on this for a while now.

Any suggestions as to why I cannot pass?

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Manipulating Complex Objects

Link to the challenge:

HI @Mgio !

I see a few things here.

The first one are the syntax errors.

You are getting syntax errors because you haven’t closed out your first object here.

Once you fix that, make sure to add a comma to separate the two objects.

Then read the error message carefully which relates to this line here

Then read the final error message carefully which relates to this line here

Once you fix those things, then it will pass

Excellent guidance.

That makes perfect sense.

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