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 (retiring) jQuery and AJAX Handle AJAX failures with jQuery

Is this broken?

I get to Section 2 of this and use .fail(function(jqXHR) {} and it keeps getting an error, this actually happened also when I got to section 3, but then it failed back to Section 1....

2 Answers

Hey Dave,

Thank you and that worked. Yeah, I've had that "Opps! It looks like Task 1...." a few times here and there.

But this time, it was repeating the error over and over...

Anyway.

Thank you :)

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

HI Jason Thomas

This is what I have for task 2 of the question:

$.get("missing.html", function(data) {
  $("#footer").html(data);
}).fail(function(jqXHR) {

});

It passes. Can you paste all of the code you're using for that task. Also, sometimes when there's a syntax error in a later task the code challenge will mistakenly say "Oops! It looks like Task 1 is no longer passing" even when your code may perfectly match task 1 still