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 trialMatthew Lehman
5,282 PointsI cant seem to get my widget file.js working
I cant seem to get my widget.js file working.
Nothing seems to be popping up.
Any help would be greatly appreciated.
Thanks.
3 Answers
Kevin Kendall
6,572 PointsCheck out the code in the console. It says there is an unexpected string on line 65 so just adding a plus sign after room.room and before closing the list item should be all you need!
Damien Watson
27,419 PointsHi Matthew,
It doesn't appear that the data file exists and in the html there is no placeholder for 'roomList'. Maybe this is contributing to the problem.
'../data/rooms.json'
Matthew Lehman
5,282 PointsThanks Kevin. I think that did the works