What is wrong with the p element font

*Tell us what’s happening:
The computer said that the p element should still use the monospace font, so what should i do?

  **Your code so far**

<link href="https://fonts.googleapis.com/css?family=lobster" rel="stylesheet" type="text/css">
.red-text {
  color: red;
  font-family: lobster;
p {
  font-size: 16px;
  font-family: monospace;
h2 {
  font-family: lobster;

<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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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="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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:98.0) Gecko/20100101 Firefox/98.0

Challenge: Import a Google Font

Link to the challenge:

Use a monospace font for the p-element :wink:
CSS rules have a hierarchy to resolve contradicting rules. Right now you assign two font-families to the p-tag and a class has a higher priority than the p-tag-rule.

Sorry,but i didn’t understand you.
The words are too biq for me.

Here’s a hint: red-text.

1 Like

Thank you alot. I made it.

1 Like

THE TUTORIAL ASKS US TO: Import the Lobster font to your web page. Then, use an element selector to set Lobster as the font-family for your h2 element.

Screenshot 2022-04-05 3.47.00 PM


Screenshot 2022-04-05 3.47.26 PM


Screenshot 2022-04-05 3.48.53 PM

1 Like

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