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

Henri Okajima
Henri Okajima
6,995 Points

The jquery link didn't run well in my browser

Hello,

My "Bring It" button didn't run well when i put the jquery link "<script scr="http://code.jquery.com/jquery-1.11.0.min.js"></script>".

I must use the following link:

<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>

Does anyone know why it happened?

Thanks.

I would say because 1.11 is an older release

https://blog.jquery.com/2014/01/24/jquery-1-11-and-2-1-released/

that may not be compatible with latest tweaks in today's browsers. For a new web site, I generally pick up the latest released version

Neil McPartlin
Neil McPartlin
14,662 Points

I only did this video a week or so ago. I've just re-opened my 'workspace' and the 1.11.0 version is still in place and working. Are you using Workspaces too or have you downloaded the work files locally? If the latter, try using Workspaces to see if the problem persists.

I do go along with what markmneimneh says, and some of these videos are 2 years old, but so far I've not had to use a more recent version to witness what I see working in the videos.

You had a typo. You used "scr" instead of "src"

<script scr="http://code.jquery.com/jquery-1.11.0.min.js"></script>

to

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