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

Manpreet Singh
Manpreet Singh
13,014 Points

unable to include jquery to my webpage plz help

I am trying to add link but donot know why its not working

2 Answers

Jose Esplana
Jose Esplana
12,503 Points

You can paste both scripts before the </head> OR </body> tag.

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

<script src="js/app.js" type="text/javascript" charset="utf-8"></script>

Tomas Vorel
Tomas Vorel
10,543 Points

Well, could you maybe provide the link that you're trying to paste into your document?