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 trialMarni Ali
4,642 PointsRetrieve the data for Javascript points using my personal profile as an example.
Hi there, I believe I understand most of the parts of this course, however, I am not able to retrieve my Javascript points. It's printed as undefined. https://w.trhou.se/xygrx46d5a Thanks in advance!
1 Answer
Steven Parker
231,269 PointsThere are several issues in the snapshot code:
- the code attempts to fetch data for the username "ali", but your actual username is "marniali"
- the raw data is being logged
- the code to parse the data has not been added yet
- the code to print the JavaScript points using the parsed data has not been added yet
Marni Ali
4,642 PointsMarni Ali
4,642 PointsOh yessss! Thanks Steven!!