Can someone tell me what I’m doing wrong. I’ve changed to code as below but it shows a cross on “Your h2 element should be red.” and I can’t see what I’m doing wrong.
Thank you for help
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 7.1.2; Redmi Note 4 Build/NJH47F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element