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

How we know that only 6 persons data show on every time page load?

How we know that only 6 persons data show on every time page load in API request ?

Steven Parker
Steven Parker
231,007 Points

We may need some context to be able to answer this question. Can you provide a link to the course page you are working with? And if it's a video, an approximate time index?

Thanks For quick reply. Here is the link of course video. Thanks https://teamtreehouse.com/library/stepping-through-async-code

1 Answer

Steven Parker
Steven Parker
231,007 Points

This code doesn't assume any specific number of response messages, there just happen to be 6 of them in the example. The code processes each response separately, so it will handle any number of them and create a section on the page for each one.