Adding fonts to the site

Let's head back to the embed code on Typekit; this screen gives us the JavaScript embed code:

I'll copy this, go over to Sublime Text, and then paste it into our HTML file's <head></head> tags. I'll do the same thing in my shark-movies.html page and save that:

<!doctype html><html lang="en"><head>  <meta charset="UTF-8">  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><!-- mobile -->  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-  scale=1.0"><!-- description -->  <title>Section 7-Web Fonts - Mastering CSS</title><!-- stylesheets --> <link rel="stylesheet" href="css/style.css"> ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.