I wrote this program but the stylesheet and class are not declaring at red

*Tell us what’s happening:

<style>
  h2.red-text{color:red;}

<h2 Class="red-text">CatPhotoApp</h2>
</stytPhotoApp</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 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element

You never closed your <style> tags.
You capitalized “Class”.