I stuck on this

Tell us what’s happening:
I can’t find what’s the problem. I need to change the font of my h2 element and that’s what i did. But they tell me that i have to choose only one h2 element. That’s exactly what i did.

Your code so far


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

 p {
   font-size: 16px;
   font-family: monospace;
 }
h2 {
  font-family : Lobster;
  color : red;
}
</style>

<h2>CatPhotoApp</h2>
<main>
 <p>Click here to view more <a href="#">cat photos</a>.</p>

 <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

 <div>
   <p>Things cats love:</p>
   <ul>
     <li>cat nip</li>
     <li>laser pointers</li>
     <li>lasagna</li>
   </ul>
   <p>Top 3 things cats hate:</p>
   <ol>
     <li>flea treatment</li>
     <li>thunder</li>
     <li>other cats</li>
   </ol>
 </div>

 <form action="https://freecatphotoapp.com/submit-cat-photo">
   <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
   <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
   <label><input type="checkbox" name="personality" checked> Loving</label>
   <label><input type="checkbox" name="personality"> Lazy</label>
   <label><input type="checkbox" name="personality"> Energetic</label><br>
   <input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</button>
 </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0.

Challenge: Import a Google Font

Link to the challenge:

put the font color in <h2 class="red-text">CatPhotoApp</h2>

and remove color : red from h2

Yeah, you messed with things you weren’t supposed to. Just do the following:

  1. Import the font.
  2. Apply it to h2.

Don’t touch anything else. You can reset the code and start over to have a clean slate.