Use CSS Selectors to Style Elements not changing to blue

Everything is checking out except for the color! I’m not understanding why it isnt changing the color to blue.

Your code so far

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

CatPhotoApp

<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; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0.

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

also, I do have at the beginning, not sure why it is not showing up in the forum

There’s no <h2> element in your code. You might have accidentally removed the <h2> tags around CatPhotoApp.

1 Like

Yep can’t style a <h2> tag that doesn’t exist :smile: :wink: