Basic JavaScript - Manipulating Complex Objects

Tell us what’s happening:
Describe your issue in detail here. Not sure what I have done wrong here.

Your code so far

const myMusic = [
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [
      "CD",
      "8T",
      "LP"
    ],
    "gold": true
  }
 { 
   "artist": "Ed Sheeran",
  "title:": "A Team",
  "release_year": 2011,
  "formats": [
    "Spotify",
    "CD",
    "LP",
  ],
  "gold": false 
  } ];

Your browser information:

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

Challenge: Basic JavaScript - Manipulating Complex Objects

Link to the challenge:

You are close with your solution, but you have two issues with your current code.

The first one is here, you need something between the } { to separate the elements
image

The second issue is here. Look how the other properties are set up, and you should see the issue with your title
image

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