Tell us what’s happening:
im pretty sure its right what am i missing
Your code so far
var myMusic = [
"artist": "Billy Joel",
"title": "Piano Man",
// Add a record here
"artist": "Beau Carnes",
"title": "Cereal Man",
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.
Challenge: Manipulating Complex Objects
Link to the challenge:
The failing test says
formats should be an array of strings with at least two elements
When I add an additional
formats to your solution, it passes for me.
delete the coma in formats property in the seconds record of myMusic array , exactly after youtube video records delete the comma or add another records , because array doesn’t end with comma
The comma does not create a syntax error, and removing the comma will not fix the failing test.
add a records after youtube video must be string in formats property because in the test in formats property must be an array with two records at least
thanks ill try that and see if it works