freeCodeCamp Challenge Guide: Import a Google Font

thank you @EJJJ it worked

1 Like

somehow it works this way.

<style>
 
  .red-text {
    color: red;
  }
  p {
    font-size: 16px;
    font-family: Monospace;
  }
  h2{
    font-family: lobster; href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css";
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
9 Likes

thanks guys i got it

1 Like

3.red-text {
4 color: red;
5 } h2 {font-family:Lobster;}
6
7 p {
8 font-size: 16px;
9 font-family: Monospace;
10 }

Check line number 5. That’s the solution.

3 Likes