Use a CSS Class to Style an Element need help

Use a CSS Class to Style an Element need help
0

#1

Tell us what’s happening:

Your stylesheet should declare a red-text class and have its color set to red. still has a red X next to it i dont know what to change.

Your code so far

<style>
 h2.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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.

Link to the challenge:


#2

Though CSS is generally case-insensitive, properties and values are by convention written in lowercase. Change Red to red.