Hello,
I have seen many questions like this and explanations that doesn’t solve my problem. In the task is clearly said “Do not use inline style declarations like style=“color: red” in your h2 element.”
Unable to change the h2 to red.
Thanks!
Your code so far
h2 .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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36.
Link to the challenge:
https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element