Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Mary Pienzi
Mary Pienzi
Full Stack JavaScript Techdegree Student 7,036 Points

Unit 5, Asynchonous programming with Javascript

My AJAX request is returning 5 items, but only 3 are showing on screen. After searching through the returned data, I've concluded that there is an issue with one of the Russian Astronaut names; Anatoly Ivanishin, or Anatoli Ivanishin with an "i" at the end of the first name. Also Chris Cassidy aka, Christopher Cassidy does not display.

How do I resolves these problems ? Can I resolves these problems?

1 Answer

Steven Parker
Steven Parker
208,505 Points

This issue is due to two 3rd-party API's having a disagreement about spelling. :see_no_evil: Code that would handle this kind of thing in a generic way would be rather complex.

But if you don't mind applying a temporary (and potentially brittle) fix for these specific cases, see the example posted in answer to this other question