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 trialwc93
25,725 PointsThe event listener try -catch code snippet does not seem to work if something is wrong with the urls
Heads up Treehouse. The event listener try -catch code snippet does not seem to work if something is wrong with the urls. Does not display the h3 "Something went wrong!" Par for the course. Please fix this course. There are divots everywhere.
3 Answers
Robert Manolis
Treehouse Guest TeacherHi wc93, thanks for reaching out about this. It looks like there was a typo in the snippet in the teacher's notes. That snippet was trying to set the h3 as the innerHTML of element stored in the astrosList variable. But there is no astrosList variable. What was needed there was the peopleList variable. I updated that snippet in the teacher's notes and the new snippet does now indeed display the h3 error message when I break the URLs.
Daniel Cranney
11,609 PointsThis course is so demoralising. There are so many issues in the first few parts of it that's its hard to get a deep understanding of it, so it just feels like with every line that this is slipping away from them (when he starts cutting lines out, he does it so quickly and I'm just not sure why he's doing it).
Treehouse, PLEASE fix this course!
chelseacheevers
13,786 PointsHere to agree! So far, everything else in the track has been challenging, but manageable. This course was nothing but confusion from start to finish!
wc93
25,725 PointsThanks Robert.