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 quiz bug

on this quiz - http://teamtreehouse.com/library/finish-the-xml-document - it tells me when i've made a total of three song tags, that I have four. I'm not dumb I can count and I have 3 song tags, all opened and closed properly, and it's still telling me I have 4 and tells me I'm wrong. Please fix this bug now.

2 Answers

Stone Preston
Stone Preston
42,016 Points

the challenge states Add 3 more songs to this XML document. Include a title and artist for each song so you need to add 3 more songs in addition to the one thats there already

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

I passed the challenge with the above code. can you post the exact error message you got? maybe you misunderstood what it was telling you was wrong

thanks ...

good heavens I feel stupid now. i totally misread the question. never mind, problem solved. feel free to delete this from the forums