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 trialAnton Kilk
Full Stack JavaScript Techdegree Student 11,256 PointsFails to display
I couldn't see any results during the exercises here in processing JSON data. I couldn't see results on console log. Now it did not go through innerHTML either. Workspace snapshot: https://w.trhou.se/z4c05nbmyj
I use Google Chrome.
2 Answers
Emily Rodriguez
12,572 PointsAs Kris said, you're not referencing widget.js in index.html. Also, you have an error in your for loop on line 6. This: for (var i = 0; var < employees.length; i++){ Should be this: for (var i = 0; i < employees.length; i++){
You're referencing var instead of i.
Hope this helps!
KRIS NIKOLAISEN
54,972 PointsYou have two issues:
(1) There is no reference to the widget.js script in your index.html. This is why you don't see anything.
(2) This one will display in the console once you fix #1.