Degrading to Monospace Font

Degrading to Monospace Font
0

I cannot seem to move to the next challenge in CSS because it seems the Lobster font is already installed on my browser and so it doesn’t degrade when I comment out the link. How do I get past this? Please help

It shouldn’t affect the test, you just can’t see it degrade. Can you post your code so we can see what you have?

Yea, that’s a known problem. Some people have had success using incognito mode, or a pure version of firefox.

Sure. Thank you

<!-- <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;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>
<main>
  <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>
  
  <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="/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>

Okay. Let me try that just now. Thank you

You are missing a comma and have the semi-colon in the wrong place.

You have:

h2 {
  font-family: Lobster; monospace
}

Should be:

h2 {
  font-family: Lobster, monospace;
}

WOW! Thank you so much. I have been struggling with this for so long.
Thank you very much. Just did it and it worked

Sure thing.

Trust me it won’t be the last time your code fails because of typos or silly little mistakes, computers are dumb but also very obedient. :slight_smile:

:grin::sweat_smile:
Yeah. Pretty much