Change the Font Size of an Element how to?

Tell us what’s happening:

Your code so far

  .red-text {
    color: red;

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

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

<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>

 Purr jump eat the grass rip the couch scratched sunbath, shed everywhere rip the couch sleep in the sink fluffy furr catnip scratched.

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.

Link to the challenge:

Hey @tomboy123,

Notice that you have not surrounded the second sentence in any p tags. I am referring to the Purr jump sentence. You need to that and give it a class and then add the style for it.


I would suggest that once you get to the point of putting CSS in the style section (or a separate file eventually) that youtry and stay consistent.

Think about where your CSS is located and try and keep it grouped if you will, think about the content of the web page (HTML) and what you are trying to accomplish.

Reset this one and start again.