Manipulating Complex Objects using JS

Manipulating Complex Objects using JS
0

#1

Tell us what’s happening:
i don’t know like how to solve it… could some one plz help me what should i learn for to have a successful submission of that challenge

Your code so far

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0.

Link to the challenge:


#2

Do you not understand what the challenge is asking you to do or do you not understand how to add elements to an array? Tell us what part you do not understand.


#3

Both of them i don’t understand :frowning:


#4

Review this challenge you should have already completed on how to create an array.

The challenge you are asking about is just an array of objects, so each element is an object. You just have to add another object (an album in this case) similar to the existing object the challenges starts with.


#5

okay , thanks :slight_smile: