Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AJAX Basics Programming AJAX Finish the JSON File

Robert Rydlewski
Robert Rydlewski
3,828 Points

what's wrong ?

don't getting. The syntax looking good to me

songs.json
[ 
  {
    "title" : "My Way",
    "artist" : "Frank Sinatra"
  }

{
    "title" : "Mr. Blue Skye",
    "artist" : "E.L.O."
  }
{
    "title" : "Paktofonika",
    "artist" : "Jestem Bogiem"
  }
];

1 Answer

Some hints:

  • You need 4 songs
  • There should be commas between your objects
  • There shouldn't be a semicolon at the end

You could pass it through the validator shown in the video