Changing the Color of Text not Working

When i run the code the site is telling me that my h2 need to be red… Witch it is… As far as i know. What may be the problem?

This is my 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>


Link to the challenge:

Try this

style="color:red;"

Removing space between : and red just the way it appears above. Hope this helps :pray:

It’s the same :frowning: Still not working…

Mine works perfectly :+1:
Look carefully at my code most likely you have space between ; and ". Or just copy and paste the above solution I have suggested.

Did that too… Might be a problem with the browser…

Fount the solution… I had the browser set do dark mode and i think this affected the code. Now it works. Thank’s tho !