Font isnt changing

Font isnt changing
0.0 0

#1

Your code so far

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

  p {
    font-size: 16px;
    }

  p
  {
    font-family: Monospace;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 7.1.1; XT1562 Build/NPD26.48-24-1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.83 Mobile Safari/537.36.

Link to the challenge:


#2

Your code works, but there’s no need to have two separate CSS rules for p here. You can combine font-size and font-family in the same rule.

Try resetting your code and submit again.


#3

Still doesn’t work…


#4

Can you post your most recent version that is not working?


#6

You don’t need to call p.class file as separately. Only one p.class can have both font-size and font-family. In CSS there goes some common inheritent problem. Thats make them limited and more conceptual. Your code is well but not professional at all. #freeCodeCamp make to guide you like a professional coder…