Codecademy

Sign In Create Account
Find the Category of a Page
  1. Current: Find the Category of a Web Page
01/01
Find the Category of a Web Page

This exercise walks you through getting the categories contained in the content of web page. A page may have multiple category labels.

Find a web page that contains some English-language content that you would like to categorize.

Stuck? Get a hint!Hint

Shorten the URL with bitly (remember Section 1?), and pass it to the v3/link/category endpoint as the link parameter.

Save & Submit Code Reset Code
Back to editor

Start Here

Each lesson starts here. Read the explanation, then follow the instructions underneath. If you get stuck, you can click on the "Hint" for help.

Enter your Code

Type your response to the instructions here, in your code editor.

Submit!

Ready to see if your code does what it should? Click "Save + Submit" to run and check your code!

Click "Save + Submit" to run your code! Your code’s output will pop up on the screen.

See What it Does

This is the terminal. When you submit your code, it will run your code and display the result here.

Sign in to Codecademy