Importing Google Fonts for Tribute page in CodePen

I’m trying to change the fonts on my tribute page, just copy and pasted the code for Lobster that was used in the original lesson:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

Then tried changing the “Lobster” to another google font I found. It didn’t work and neither did the original Lobster code. What should I be doing differently?

Thank you

Do you have a codepen link?

The <link> tag should be in the HTML editor, not in the CSS one.

2 Likes