Use CSS Selectors to Style Elements "style element"

I can’t change the color to blue

Your code so far

  h2{"color: blue";}CatPhotoApp
</style>
<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299.

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

You have CatPhotoApp in your style section, where it doesn’t belong. You also don’t appear to have an h2 element anymore, so there is nothing to turn blue.

1 Like