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!

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) Programming AJAX Stage 2 Challenge Answer

Fetch Method?

Great Course. However I'm curious about the Fetch Method? How different is it from the methods taught in this section. is the fetch method discussed in any AJAX courses?

The Fetch method uses promises rather than callbacks. It also has a cleaner syntax than XMLHttpRequest however, the Fetch method is not supported by Internet Explorer. There are also some other features of XMLHttpRequest that Fetch does not support.