Use CSS Selectors to Style Elements help

Tell us what’s happening:

Your code so far

<style>h2 {color: blue;}</style>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 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-css-selectors-to-style-elements

Hi. What is your question?
And you missed h2 open tag in your code.

im not sure on what im doing wrong with this section

ah think you i got it so to make sure i understand i would start the code with the main tag do my css after but i dont have to end with the closing tag of the h2?

Your code is

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

CatPhotoAp`</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>

But you have not onep tag h2 and CSS not applicable to <h2>

thank you i understand

Nice to see your work. Keep coding.
Best rigards.

1 Like

Dear, I do this action, but I can finish step 3rd to have the color “blue”. Please Help me.

  1. <!--
  2. CatPhotoApp

  3. –>
  4. h2 {color: blue;}CatPhotoApp
  5. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Hi. You need open and close h2 tag because h2 is pair tag.
Pair tag include content inside.

Example:

<p>Content of p tag</p>

But you have not any tags outside the text. Your content is ‘‘CatPhotoApp’’.