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 Introducing jQuery

Can't get the code to work and I have exactly what is shown in the video.

I even tried copy and pasting what is in the jquery-example.html file in the workspace to the index.html and it still didn't load the sidebar.html contents

2 Answers

Purushothaman Elango
Purushothaman Elango
9,718 Points

The jquery script reference is missing in the code, place the following code in the head tag and run the program.

<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>

It works : ) good luck

in such cases it would be usefull if you post the question as well as the answer you provided, when you are at the specific code challenge it gives you the option to post a question on the forum that includes all that