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 trial

JavaScript AJAX Basics (retiring) jQuery and AJAX Stage 3 Challenge Answer

Matthew Lehman
Matthew Lehman
5,282 Points

I 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.

https://w.trhou.se/9apj388xtw

3 Answers

Check 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
Damien Watson
27,419 Points

Hi 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
Matthew Lehman
5,282 Points

Thanks Kevin. I think that did the works