Style-Change to all "h2" Elements doesnt work

Tell us what’s happening:

I followed the given Instructions on how to change the Color of all h2 Elements and i even copied the Code from the Video and it still just says “your h2 Element should be Blue”… and it is, but it still doesnt uncheck the task in the list and i cant proceed to the next Challenge.

Please help me, Guys.

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

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

1 Like

Your code passes for me. Sometimes the browser “glitches” and it won’t pass. Turn your computer off and on. Refresh the browser cache. Try a different browser. If all else fails, just back out and move onto the next challenge.

do you have a dark mode extension? that would make the challenge fail

1 Like

Hey @KeanuQueefs. As everyone said, the code passes for me as well. Try these:

  • Disable ad blockers, dark mode extensions, unwanted extensions from your browser.
  • Try changing the internet connection.
  • Try a different browser (Chrome is good)

Please reply whether this works or not.

1 Like

Thanks, Mate.

Turning off the extension did it for me.

Cheers!