I am encountering error in "Change the Color of Text" Challenge (CSS), but i think my code is correct

Tell us what’s happening:


This keeps happening happening
I did this challenge myself, tried “get a Hint” and “Watch a Video” and edited my code, and all gave same solutions but this error keeps popping, that my h2 element should be red (and it is red)
I would appreciate any tips

Your code so far


<h2 style="color: red;">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="/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 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0.

Challenge: Change the Color of Text

Link to the challenge:

Are you using any browser extensions that change the appearance of websites (such as a “night mode” extension)?

Yes. Should I disable it?

Disabling the extension worked, thanks
I didn’t think it would be something like this:sweat_smile:
Thanks a lot again

That extension works by changing the CSS of pages in your browser, so you’ll want to have it turned off when you do CSS challenges and also any time you are working on a web page. freeCodeCamp does have a dark mode that you can turn on in your settings.

1 Like

I did not know that browser extensions can do that. Thanks for your help :+1: