Use a CSS Class to Style an Element help


#1

I dont know what im doing wrong, just dont change the color:

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

#2

I cleaned up your code. Code snippets should be contained in triple backticks. Look here for more information.


#3

Color should not be capitalized.


#4

Thank you, finally i can find my mistake, thanks for answer so fast