Getting message "Your p elements should use the font monospace" even though I already using it

Hi, today is my first day in freeCodeCamp. Nice to meet you

Anyway, I have a problem when trying to complete Set the Font Family of an Element lesson. It always give me message “Your p elements should use the font monospace”.
I don’t know what’s wrong, I already declared monospace font-family inside p style.

Here is my code:

<style>
  .red-text {
    color: red;
  }

  p {
    font-size: 16px;
    font-family: monoscape;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>
<main>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
...
1 Like

Hi @pratamaridwan111 !

You sure you used monospace?

1 Like

Sorry my bad, I missread monospace as monoscape

2 Likes

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