Lesson doesn't recognize code? (solved)

Tell us what’s happening:
Describe your issue in detail here.
I have done exactly as the lesson asked, yet I still have an X on “your h2 element should be blue.” The heading is blue for me on the webpage, but the lesson doesn’t recognize it for some reason. Can’t upload a screenshot directly, so have a link: Imgur: The magic of the Internet

any help or ideas are welcome.

  **Your code so far**

h2 {color:blue;}


<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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="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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

There is no need to post a picture.

When I run your code, it passes. I would make sure your browser is up to date and you aren’t running any extensions that modify your CSS.

Do you have any browser extensions that change the way websites appear, such as a “dark mode” extension?

Yeah, im using an extension called “dark reader.” I’ll try turning it off

That extension works by changing your CSS.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.