CSS Selectors not working

Tell us what’s happening:
Code is note working
That’s why I am not able to pass the challenge
My code is totally correct

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 (Android 6.0.1; Mobile; rv:58.0) Gecko/58.0 Firefox/58.0.

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

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

markdown_Forums

The element style should not be capitalized.

1 Like

I don’t think it’s required in the spec, but it is the common practice and it is probably what FCC checks for. It’s always used with lowercase.