Your h2 element should be blue error

Tell us what’s happening:
Hello everybody! I am new to HTML and CSS. I am now faced with this problem which I have been racking my brains for almost 30 minutes to figure out what is going wrong but I still can’t. I was told to change the color of the text CatPhotoApp into blue and I did but it kept telling me “Your h2 element should be blue”. Now it will not let me move on to the next task. Please tell me if I made a mistake somewhere. Thanks in advance!

Your code so far

h2 {color: blue;}
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

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

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

Your browser information:

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

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

Are you using a browser extension that changes the colors of websites?


I use an extension that turns all the websites to dark mode. Is that the problem?

I turned it off and everything is OK now. Thank you so much!

you can switch on the native dark mode in the settings


That is possible? I will search that on Google. Thank you for the recommendation!

go to the freecodecamp settings for the native dark mode, which will not interfere with the challenges


1 Like