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 Asynchronous Programming with JavaScript Exploring Async/Await Convert Promise Handling to Async/Await

Seokhyun Wie
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Seokhyun Wie
Full Stack JavaScript Techdegree Graduate 21,606 Points

About person.craft

Hi there, I want to know why the 'person.craft' is treated separately, meaning that we need to create a new object to collect the 'craft' data, apart from 'person.thumbnail.source', 'person.title', 'person.description' etc.. Is it because the 'craft' data is not included in the parsed data of 'wikiUrl + person.name'? I think there should be an additional information explained why the 'craft' is dealt separately whereas other data does not need any other process like 'craft'. Thank you for your time in advance!

1 Answer

Hi Brandon, I think you actually answered your own question. The craft information does not come from Wiki, but rather from the astrosUrl. As a matter of fact, you can see the only information we get from that link is: the name of the person, and the name of the craft. Let us know if this answered your question.