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 trialChristopher R
1,441 PointsOn my MacPro, the example files in the Workspace aren't showing any buttons on initial load.
There are no Chrome console errors. All I see is the text "Bring on the Ajax".
3 Answers
Stephen Reinstein
1,788 PointsCan you check your index.html file in the work space to see if your button reads like this:
<button id="load" onclick="sendAJAX()">Bring It!</button>
Maybe it was accidently deleted then saved?
Christopher R
1,441 PointsThe div id="ajax" tag is there, but there's nothing between it and the close div tag.
Christopher R
1,441 PointsIt's not there in example2.html when I do a Preview. But the button is there in the workspace file. In fact, if I change the Bring on the AJAX text, save it in the Workspace, then hit the preview eye, that change isn't being reflected on the page at all. The Workspaces have worked for me in other non-AJAX javascript lessons.
Stephen Reinstein
1,788 PointsStephen Reinstein
1,788 PointsCan you inspect element and see if the <button> element is there?