Ajax-loader-large-white
How to use APIs with jQuery
You've Already Been Introduced

If you've been using Codecademy for a while, you've already met jQuery and HTTP! Get reacquainted with our friend jQuery here. As for HTTP: It's that little bit before the "www" in a website's address. Some browsers might hide it from you, but Codecademy's full address is:

http://www.codecademy.com/

The HTTP stands for HyperText Transfer Protocol. HyperText is text with links in it (like this!) and a transfer protocol is a fancy way of saying "rules for getting something from one place to another." In this case, the rules are for transferring web pages to your browser.

Check out the code in the editor. This is jQuery code that requests a web page! Some of it may be new to you, but we'll explain it soon.

Instructions

Click Save & Submit Code to see the code in action!

If this looks super intimidating, feel free to practice your skills in the jQuery track for a bit, then come back!

?
Stuck? Get a hint! Hint
Get live, fast support from Codecademy Advisors when you get stuck. Learn more.

The "Results" tab shows the source code from Codecademy's website -- i.e., the same code you'd see if you used "Page Source" (on the Firefox browser) or "View Source" (Chrome, IE).

index.js
index.html
project
View Preview