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

Tell us what’s happening:

Your code so far

  h2 {
    color: blue;


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

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