Change the Font Size of an Element 2017

Change the Font Size of an Element 2017
0

#1

Tell us what’s happening:

I need help

Your code so far

<style>
  .red-text {color: red;}
  P {font-size: 16px;
     font-family: Monospace;}
</style>

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


<p class="red-tex ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff</p>
  <pclassPurr 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; SM-T377T Build/NMF26X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Safari/537.36.

Link to the challenge:


#2

You broke your paragraphs and it’s a mess now.
Paragraphs have the following syntax:

<p> Text inside the paragraphs </p>
<p class="red"> Red text here if I styled it correctly </p>

Notice how symbols are placed around the p and when we need to use quotation marks.
Also, although in this case it doesn’t break anything, computer languages in general are case sensitive. So usually P does not equal p.

:+1:


#3

@Lisafur218

Be sure you check the “closing or completing syntax” of your opening tags.
You lost something along the way, HTML can no longer tell what is happening.

Guide it to its purpose.

Cheers,
-WWC


#4

I was actually hoping that someone could post the answer plz

Or PM me with it

Thanks


#5

Adjust to this:
<p class="red-text">

The next paragraph tag you must also fix"

This at least needs to be, as a proper opening tag.

<p>

The opening tags of the paragraph elements had some important things deleted, so that it just runs into the paragraph text.
This is the broken part.

You should have it from here.

-WWC