"Your h2 element should be red."

I can’t pass this step, -Your h2 element should be red-. I wrote the code and I also copied it and it won’t let me to go to the next step.

Can you share your code and the challenge name?

CatPhotoAPP

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

<h2 style="color:blue">CatPhotoAPP</h2>

You should set the color to red (as per the instructions).

thanks :slight_smile:

i did it but still having issues

show your code - if you use the ask for help button most work will be done for you, just add any question you have in the “tell us what’s happening” part

<style>.red-text{ color: red;}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

this is my code

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

what tests are you failing?