Did i do something wrong in this challenge?

Tell us what’s happening:
Describe your issue in detail here.

  **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,monoscope;
}-->

p {
  font-size: 16px;
  font-family:monoscope;
}
</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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Challenge: Specify How Fonts Should Degrade

Link to the challenge:

You have a typo in the font-family name :slight_smile:

You wrote: “monoscope” the correct word is “monospace” w.r.t the problem statement given in the challenge.

Happy learning!

And you only have to enclose the google font link in comments : )

1 Like

i beleive your mistake is within the p element of your style element
you are missing a space. You have",monoscope "
instead of , monospace.
see here … ^ etc…^

1 Like

The user here typed monoscope instead of monospace. And the spaces wont matter unless the font-family itself has space. If there are spaces you enclose them in ‘’ : )

2 Likes

your right. These test can be fickle sometimes. I added an etc. in there with a carrot pointing up. I figured they would get it subtlety

1 Like

Yeah, my best guess here would be their test cases are finding the exact set of input/behavior. Like in this case.

It gave me a micro habit to check this if something goes really bad.

1 Like

trainin them up right! lol

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.