Instructions
Add a new album to the myMusic array. Add artist and title strings, release_year number, and a formats array of strings.
I’m having some trouble understanding what the challenge is asking for.
I have read the instructions over several times and thought I understood it but every time I begin the code, it’s telling me it’s wrong? so I’m not really sure what I need to start with.
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36.
hmm true. well here’s my code so far alongside the example on top (Billy Joel record)
var myMusic = [
{
“artist”: “Billy Joel”,
“title”: “Piano Man”,
“release_year”: 1973,
“formats”: [
“CS”,
“8T”,
“LP” ],
“gold”: true
}
{//your record here
"artist": “Beatles”,
“title”: “White Album”,
“release_year”: 1968,
“formats”: [
“Vinyl”,
“Cassette”,
“CD”],
“gold”: true
};