Use CSS Selectors to Style Elements blue Issue

The test keeps telling me that the element should be blue. The other users solved the issue by switching off dark mode. I have tried this and reset chrome to original setings. . I cleared my history. Switched off all extensions. Tried other browsers. Will not accept “color: blue;” Any advice?

// running tests
Your h2 element should be blue.
// tests completed

  **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="">
  <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/90.0.4430.85 Safari/537.36 Edg/90.0.818.49.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

Hi @Evansb007 ,

You have added the style element for h2 but there is no h2 element in your code. I think it was deleted by mistake.

The browser can’t see any h2 tags therefore the browser will your ignore your h2 element in <style>
Try Resetting the code and do the challenge again.

I added the


element and the test passed. Problem solved. Thank you for the assistance.

1 Like

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