Use a CSS Class to Style an Element I think I did everything right but it's not doing what supposed to do. Help!

Use a CSS Class to Style an Element I think I did everything right but it's not doing what supposed to do. Help!
0

#1

Tell us what’s happening:
I think I did everything right but it’s not doing what supposed to do. Help!!!

Your code so far

<style>
  .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/62.0.3202.94 Safari/537.36.

Link to the challenge:


#2

You have successfully completed part of what the challenge wants by creating the “red-text” class. Now, you need to finish the challenge by following the last line in the instructions (see below):

Give your h2 element the class attribute with a value of ‘red-text’.