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 Adding MediaElement.js

Sean Flanagan
Sean Flanagan
33,235 Points

Where is jquery.js?

Hi.

I downloaded the zip file but when I opened it there was no sign of jquery.js. What should I do please?

2 Answers

Jazz Jones
Jazz Jones
8,535 Points

Hello!

I recommend downloading the uncompressed 3.3.1 version file here: http://jquery.com/download/

You can also link to it using a cdn by including this script tag in your HTML file

<script   src="http://code.jquery.com/jquery-3.3.1.js"   integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="   crossorigin="anonymous"></script> 

However I do recommend that you download the actual file so that you can read the vanilla javascript in the jquery file to improve your reading skills and understanding of javascript

Sean Flanagan
Sean Flanagan
33,235 Points

Hello Jazz. Thanks for your help.

Due to the changes that have taken place, there's a lot of information to take in, and my autism adds to this particular difficulty. My brain soaks it all in like a sponge.

I clicked on the link you showed me. I found the syntax for the uncompressed version but there was no download option, only a copy option.

I copied the script tag you gave me (version 3.3.1) and pasted it between the </div> tag and the </body> tag at the bottom of the index.html file. Do I have that right?

Jazz Jones
Jazz Jones
8,535 Points

No problem Sean!

If you're having problems downloading the file, try right clicking the link and selecting Save As... or Save Target As... (depending on what kind of browser you're using).

You also copied that cdn correctly :) That just links your page to the script on the server side without having to load the file yourself. The videos will eventually teach you about that the more progress, but I've been trying everyday to read the actual script file and documentation to get a sense of how jquery can really be used. You're doing great!

Sean Flanagan
Sean Flanagan
33,235 Points

Hi Jazz. Thanks for your help and support.

I've watched 2 minutes 32 seconds of the video. This is how my workspace is so far:

https://w.trhou.se/g8r5s67hzg