Use a CSS Class to Style an Element not working right

Tell us what’s happening:
I have no clue what im doing wrong?? I tried everyone’s advice on the forum and nothing is helping me. My code looks right to me… this is driving me nuts, and i cant be this difficult.

Your code so far

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

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

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

it says “declare a red-text class and have its color set to red.”

.red-text {
    color: red;
}

If its asking you to select an h2 with class red-text, itll tell you. :wink:

thank you! i just deleted the h2 an vola!