Why is this simple code not being accepted is this a bug?

The code and then the URL to the challenge.

<style>
   
  h2 {color: blue;}

  <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>

</style>

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

Please post your entire code for the challenge.

You shouldnā€™t have html code inside your style block.

2 Likes