H2 Should be blue

Tell us what’s happening:
Hello all, I have coded as it challenged, but the error persists that m h2 should be blue. As the code is below, I have entered what I think should be the correct code, but the error says “your h2 should be blue” Please let me know.


Your code so far

h2 {color:blue;}

<h2> CatPhotoApp </h2>
<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>

  <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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

Are you running a browser extension that changes the colors of your pages, such as adding a dark mode? Those need to be disabled for CSS portions of the curriculum.

Yes, I am using an extension as such, due to my eye sensitivity.

Hi, you should put blue in quotes.

h2 {color: “blue”; }

You can turn on FCC’s native dark mode in your settings (https://www.freecodecamp.org/settings). You will need to disable the extension on freecodecamp.com/learn for the tests to work correctly.

Thank you my friend, works well. Good Luck!

1 Like

Here’s a visualization of what @JeremyLT is saying, FCC already have it’s own dark mode here:

1 Like

Adding quotes around “blue” will in fact cause the tests to fail.


I tried with the quotes too, but it won’t pass. It was an issue with some extension I was using. Anyway, thanks for your response. Good Luck!

I did it already :slight_smile:, Thank you. Really appreciate your response.