im stuck and i cant think what ive did wrong
can someone give a few hints
Your code so far
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CS",
"8T",
"LP" ],
"gold": true,
},
];
{
"artist": "linkin park",
"title": "whatever",
"release_year": 1950,
"formats": [
"CD",
"Online"
]
}
};
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/manipulating-complex-objects
Did you look at what it says when you hover over the red circles with x’s in them?
yes i did but, if i move things around the errors change positions ive tried fixing the lines with no sucess
those are the errors but i have no idea how to fix it like on the first error where the hell i should put a semi colon
Look at all your opening and closing braces and brackets. Do they match up correctly? Are they in the right place?
Tried to change still struggling
Where does myMusic
end? Where is the closing brace for the myMusic
array?
Hey, thanks alot its getting clearer now…
But now… should i close the object to add the things the exercise is asking me to do?
Because i tried without it and its saying duplicate key which is kind obvious since theres other artist key
how do i nest those objects is in the same variable
thats what i need to do right?
Thanks buddy id kiss you in the mouth if i was near you
sorted