Basic Css: use css selectors to style elements error

Tell us what’s happening:
The fail test message keeps telling me that my h2 element should be blue. I followed the instruction but I keep getting the same message. It won’t take me to the next page.

Kindly find attached a copy of my screenshot.

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 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

I would reset all the code and then hard refresh (ctrl + shift + r) and rewrite what you did.

<h2 style="color:red;"> CatPhotoApp</h2>

Hi martinburrows,

I changed the browser I am using to google chrome, the latest version

The codes work well with Google Chrome

Hi Gambit142
Excellent. Also apologies. As i have moved on with the course i realised you were on a more advanced lesson . I will be more careful next time! (first time on Forum) Good Luck Martin

Don’t sweat it. I wish you all the best as you advance in the course.