Can anyone help me ? I stuck here since this morning

Tell us what’s happening:

  **Your code so far**

<style>
h2 {
  color: blue;
}
</style>

<h2> 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 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-css-selectors-to-style-elements

If I copy-paste your code I pass all the tests.

the screenshot you show, those are not FreeCodeCamp colors…

deactivate the dark reader extension please, you can turn on fcc own dark mode from the menu

1 Like

thanks for your reply. I have checked many many times, still can’t find the error, also can see from the output, the h2 text is blue color.

Thanks ieahleen for your msg. I do find my dark reader setting make fcc screen ugly and difficult to read. will try your suggestion.

Thanks, ieahleen. I follow your suggestion and use fcc night setting. the screen looks so beautiful now. Also after that, I run the test again without changing any code, this time I pass. Thank you so much all.