Use a CSS Class to Style an Element whats wrong?

Use a CSS Class to Style an Element whats wrong?
0.0 0

#1

Tell us what’s happening:

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 6.0.1; Redmi Note 3 Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36.

Link to the challenge:


#2

Style attributes are lower case, so Color: red; should be color: red;