Change the Color of Text in h2 error

Tell us what’s happening:
The error message I get is: Your h2 element should be red. The display shows that the text has changed to red and I cant figure out any errors with the code. Any Clues?

Thanks

Your code so far



<h2 style="color: red;">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="/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; rv:65.0) Gecko/20100101 Firefox/65.0.

You can try removing the space, or just copy your code, reload, and paste it in again - the tests sometimes get stuck

OK thank you for the assistance. Will keep trying

i copied and pasted your code in mine and it worked. There was a time when the size of the window was not allowing it work. maybe ensure your browser window is full and try again.

No luck, unfortunately. I have closed my browser and reloaded the page, re-typed the code a few times, searched through the forum for clues. Still getting the same response. Is there any way to advance to the next lesson without having to have the current one approved?

If you click “Curriculum” in the menu at the top of the page, you’ll get sent to the full list of curriculum challenges. From there you can go to any challenge you like – they don’t have to be completed in order.

Basic CSS: Change the color of text

Yah, silly me, I noticed you put the title of the challenge right in the post title. Are you using any kind of browser plugin that changes the colors or styles? Lots of the CSS challenges won’t work if you’re using anything like that.

Try doing the challenge in Private Browsing mode (shift-ctrl-P) and see if it passes then.

I use a dark theme on my browser…will turn it off and check it again

That solved it.Thanks for the help