Use a CSS Fron size to Style an Element

Use a CSS Fron size to Style an Element
0

#1

Tell us what’s happening:
I do not know where to put the front size

Your code so far

<style>
  h2 {
    color: blue;
  }
</style>

<h2>CatPhotoApp</h2>

<p>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 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063.

Link to the challenge:


#2

What element are you trying to change ? is it the paragraph or the h2 ?


#3

It is a paragraph. Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.


#4

So your solution should look something like this

<style>
  h2 {
    color: blue;
  }

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

By that you are using the CSS selector P to target all paragraphs and set a font-size of 16px.


#5

I followed this step ,but it did not move me to the next stage . I do not know where is the problem.


#6

That’s odd, can you screenshot the challenge with the code solution?


#7


#8

I think the problem in text zoom . I’m right ?