The 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.
Robert ManolisTreehouse Guest Teacher
Hi 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 Cranney10,393 Points
This 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!