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) Programming AJAX Processing JSON Data

Karen Shea
Karen Shea
13,851 Points

widget.html file is not showing up

I have all the other files I need, but the widget.html file is nonexistent.

Conrad Casper
Conrad Casper
4,082 Points

Having the same problem! widget.js shows but not widget.html

1 Answer

Martin Park
Martin Park
12,792 Points

Hi,

There is no widget.html file required here.

In the video Dave refers to a widget.html file to show what the hypothetical designer gave us. It is basically a mock up of what the finished file should look like. We do not need it in this example.

If you are meaning where does the Employee information come from it is specified in the the AJAX Open Request and dealt with in the AJAX callback function:

xhr.open('GET', 'data/employees.json');