Use CSS Class to Style an Element

Use CSS Class to Style an Element
0

#1

Tell us what’s happening:
How do I get out of this after all I have done.
Below is the question

*Your h2 element should be red.
*Your h2 element should have the class red-text.
*Your stylesheet should declare a red-text class and have its color set to red.
*Do not use inline style declarations like style=“color: red” in your h2 element.

Your code so far

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

<h2 class"red-text">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 (Linux; Android 5.1; Archos 50c Platinum Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

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


#2

There should be a = between class and "red-text".


#3

I don’t understand you. Am new in coding.
Just do everything so I will see it and replicate it


#4
<h2 class="red-text">CatPhotoApp</h2>

#5

there should be an = between class and “red-text”