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 AJAX Concepts Finish the XML Document

Add 3 more songs

ajax basics

songs.xml
{  // open with a curly brace
    "title" : "Song Title", // add key-value pairs - don't forget the " quotes and the , comma!
    "artist" : "Song Artist"
}, // end with a curly brace - don't forget the , comma if you have more objects to add!

1 Answer

Hi Kelvino,

The challenge is asking you to add 3 more songs as XML as per below...

<?xml version="1.0" encoding="UTF-8"?>
<songs>
  <song>
    <title>My Way</title>
    <artist>Frank Sinatra</artist>
  </song>
  <song>
    <title>My Way too</title>
    <artist>Frank Sinatra</artist>
  </song>
  <song>
    <title>My Way three</title>
    <artist>Frank Sinatra</artist>
  </song>
  <song>
    <title>My Way four</title>
    <artist>Frank Sinatra</artist>
  </song>
</songs>