Use a CSS Class to Style an Element plece help to soulv this topic

Use a CSS Class to Style an Element plece help to soulv this topic
0

#1

Tell us what’s happening:

Your code so far

<style>
  h2 {
    color: blue;
  }
</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>
<h2 class="red-taxt">hello world</h2>```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (Linux; Android 7.0; IF9001 Build/NRD90M) 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
![Screenshot_20180503-153030|281x500](upload://akzrEgnbgsRnLZC9cL4Zdh6UE3I.png)![Screenshot_20180503-152611|281x500](upload://krm6FMOHOAVmCCf00blx4WbZYvJ.png)

#2

Your h2 element should have the class red-text

Your stylesheet should declare a red-text class and have its color set to red.

You have:

  • No class red-text on h2
  • No red-text class in your style sheet that is red