Learn to code with free online courses, programming projects, and interview...e

Hi everyone,

Completely stuck here. Do I create a new object after the closed “}” ??


Yup, you are just adding another object to the array.

1 Like

yes, another ‘record’ following the same format or ‘layout’ as the Billy Joel one…

“Add a new album to the myMusic array. Add artist and title strings, release_year number, and a formats array of strings.”

var myMusic = [
“artist”: “Billy Joel”,
“title”: “Piano Man”,
“release_year”: 1973,
“formats”: [
“LP” ],
“gold”: true
“artist”: “Nas”,
“title”: “illmatic”,
“release_year”: 1994,
“formats”: [
“LP” ]

^ it comes back [null]

any ideas?

Nevermind, I got it. Thanks