Use a CSS Class to Style an Element do

Use a CSS Class to Style an Element do
0

#1

The color is not red it has some mistake of I don’t know what please check it and tell me

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 4.4.2; V4005 Build/S-0-1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36.

Link to the challenge:


#2

Hi,
Your code looks fine, so I copied your code above into the challenge editor and ran the test, and it passed.


#3

Thank you for help I finished it