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 jQuery Basics (2014) Introduction to jQuery Ways to Include jQuery in a Project

Bogdan Popa
Bogdan Popa
5,742 Points

can't pass the "include jquery to a project"

as mentioned in the title, I can't pass the add jquery to you're code. I just pasted as asked this code <script   src="https://code.jquery.com/jquery-3.2.1.js"   integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="   crossorigin="anonymous"></script> and tried with older versions (including 1.11.0 from the video) including minified version. also I posted before and after the existing script tag. I don't know what to do anymore,pls help

1 Answer

Bogdan Popa
Bogdan Popa
5,742 Points

ok, so I've worked around this bug. I took a photo with my phone on this leson to type in manualy exactly as in here. I had to type

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

nowadays, it seems the link has changed to

"<script
  src="http://code.jquery.com/jquery-1.11.0.min.js"
  integrity="sha256-spTpc4lvj4dOkKjrGokIrHkJgNA0xMS98Pw9N7ir9oI="
  crossorigin="anonymous"></script>" 

and this test won't accept the current link( not to mention now you cand only find version 1.11.0 in the archive :) )

I know I should not post the solution for tests here, but this is more like a bug( due to things changing over time ) and I hope my post will save a lot of students, here on Treehouse, of a lot of frustration.