Font Size of an Element

Tell us what’s happening:

Your code so far

  .red-text {
    color: red;
  .p {font-size: 16px;}

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

<p class="red-text">Kitty ipsum dolor sit amet, shed.</p> <p>everywhere shed everywhere stretching attack your   ankles.</p> <p>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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 OPR/49.0.2725.39 (Edition Campaign 34).

Link to the challenge:

You didn’t include the “Tell us what’s happening” section, which makes helping you much more difficult.

Just looking at your code though, I assume that the problem is that you created a class called p instead of applying a style to <p> elements.

but its not working please

Did you change the second style to apply to p elements instead of creating a class named p?

@brainyalk you have to do .red-text instead of .p because the . selector is used for class


CSS Selectors . . . . they are not one size fits all and you are mixing them.
The one you are looking for . . .