Where to put Google Font Lobster?

Where to put Google Font Lobster?
0.0 0

#1

I went along fine until this part. I wish they were more specific about where it belongs? I understand it’s a learning experience, but I’m only about 10 mins in-- needs to be way more helpful at the start, imho.

Your code so far

           s.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

<style>
   
    
  p { font-size: 16px; font-family: Monospace; } 
  
  .red-text {
    color: red;
  }

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



<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>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0.

Link to the challenge:


#2

It works for me. The extra href isn’t needed thiough, as you’re importing the font at the start pf the page.
The only thing I see what might cause a problem is that you’ve set your h2 tag to use the Lobster font-family, but you don’t use a h2 tag anywhere in your HTML.