What am I doing wrong here it says I'M WRONG

Tell us what’s happening:

Your code so far


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

<div>
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
</div>

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" checked> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36.

Challenge: Use a CSS Class to Style an Element

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

I dont know what’s wrong thats why I’m asking
I ran a test and it says I’m wrong

What do the failing tests say?

Your

h2

element should be blue.

I did that test again now and it didn’t say h2 should be blue. It says it should be read. Maybe try again?

I tried many times and it still shows this

it super strange cause i did it right now with the link you provided in the topic

What can I do to make it work?

I don’t know, cause for me it’s working ok but if it asked you to make h2 blue, did you try to make it blue?

Yes I did I accidently wrote red

and what it said? I mean it’s actually should be red but if it said to you that it should be blue try it blue. Did it accept it blue?

The thing is that on the output panel it show that the h2 is red/blue
I think it’s just a bug

It is probably not a bug.

Then explain why it doesnt work pls

I agree cause if it was a bug we would be able to recreate it. and when i tried it was working ell for me

I am so confused right now

The challenge shouldn’t say anything about blue. When I run this code, it passes for me, so if this code is not working for this challenge for you, it might be a browser issue.

I’d make sure you have disabled your extensions. I’d the try

  1. clear cache
  2. incognito mode
  3. different browser
  4. restart computer
2 Likes