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

CSS CSS Foundations Web Typography Responsive Text and Vertical Rhythm: Part 2

2,335 Points

Google API

On Web Typography, Responsive Text & Vertical Rhythm, time 03:33, Guil says "I have already linked to jQuery from the Google API. So I just need to include the file that I downloaded from Fit Text".

My question is, for this to apply on any website, do I copy the link code he shows in the video:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>

or do I have to get my own code for this to happen? And if I have to get my own code, how do I know where to find it other than getting my own account or does it come included on the download from Fit Text js? I'm a bit confused . . . Thank you in advance

2 Answers

He's probably referring to the Google Hosted libraries, which can be found here for jQuery: https://developers.google.com/speed/libraries/devguide#jquery

or if you want to see their full list you can go to: https://developers.google.com/speed/libraries/devguide

So for jQuery you could just copy/paste the snippet you want to use within your project.

2,335 Points

Thank you mikes02 for your answer !