Change the Font Size of an Element someone should please help me

Tell us what’s happening:

Your code so far

<style>
  .red-text {
    color: red;
    font-size: 16px
  } .p{
    color: red
    
  }
</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>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/change-the-font-size-of-an-element

You forgot a semi collon. font-size: 16px should be font-size: 16px; same with .p color: red should be color: red;

i’ve tried using it but i am just so stuck over here and i don’t like it. someone should please help asap.
thanks

1 Like

Do you still need help or did my response above resolve it for you?

My brother. Your response really went a long way in helping me out because i was kind of stuck with that, Anyway that was then.
Thanks i really appreciate.