Specify How Fonts Should DegradeLobster

Tell us what’s happening:

Your h2 element should use the font Lobster.

Your code so far

<!-- <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style> -->
  .red-text {
    color: red;

  h2 {
    font-family: 'Lobster', monospace;

  p {
    font-size: 16px;
    font-family: monospace;

<h2 class="red-text">CatPhotoApp</h2>
  <p class="red-text">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>
    <p>Things cats love:</p>
      <li>cat nip</li>
      <li>laser pointers</li>
    <p>Top 3 things cats hate:</p>
      <li>flea treatment</li>
      <li>other cats</li>
  <form action="/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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

Link to the challenge:

Remove monospace from the h2 css style.

Thanks for reply, and when I remove monospace from the h2 css style it says:

// running tests

Your h2 element should use the font Lobster.

Your h2 element should degrade to the font monospace when Lobster is not available.

// tests completed

1 Like

Try removing the quotes on Lobster

The way that you had your code in the first place is correct. Take a closer look at what you commented out on top, you need to comment out the font import from google, but have commented out some other stuff along with it.

1 Like

Ahhh! Thank you so much for the feedback. I saw exactly what you meant by the “other stuff” haha.
’ ’ ’
’ ’ ’

’ ’ ’
’ ’ ’

For the others, the “other stuff” was the fact that I also commented out the element. silly mistake though. instead the comment out should have been done after the closing bracket of the link >