Change the Font Size of an Element. confused about what im doing wrong. PROBLEM SOLVED thank you

Tell us what’s happening:

Your code so far

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

<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 fluffy fur catnip scratched.</p>

Your browser information:

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

Link to the challenge:

You’re missing a > after the <p at the last line.

It won’t fix everything yet, but it’s not hard to do so.

1 Like

Okay, so you are missing a closing tag > on the second

Otherwise what you wrote makes perfect sense. changing font-size to 16px does make any
difference to the text below. so if you want bigger text UP it or smaller text LOWER it
1 Like

thank you i was really confused on what i did wrong.

thank you i figured it out last night but why do i put a > after the <p. im still confused on why i had to do that. is it because its the second p?

There is no special explanation for it i guess. Its how the HTML works. anything you put inside here < >
gives information about the element to the browser that translates it

1 Like