CSS Selectors and Style Elements

Please help check the code. The error is “Your h2 element should be blue” I have tried all my best.

<style>
  h2 {color: blue;}
</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>

Thanks

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

It doesn’t look like you even have an h2 element.

As @ArielLeslie said you don’t have an h2 element. You should change “h2” selector to “p”.

@CreativeCoder01 Do you still need help? Im here to help :smile:
Just tag me, so I can respond.