CSS style not working. i saw the solution video, everything is okey, but not working

<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>

It really helps if you describe what problems you are having.

Also, it really helps if you provide the link to the challenge you are working on.

Please describe what is going on. Tragically I don’t have telepathy. ‘Not working’ could mean a ton of different things. What specifically is happening? What error messages?

Please use words and talk to me. Your English doesn’t have to be perfect but this is so much easier when you actually interact instead of throwing code and screenshots at us with zero discussion.


It looks like you are using a dark mode extension. These extensions change your CSS and break the tests.

1 Like

i am just trying to complete this lesson, there give me a topic that, I have to do the inside

CatPhotoApp

text blue color by using css style, everything i have written perfectly but the show me the h2 element should be blue.

Great job, Dear @JeremyLT I have passed, please tell me what can i do for you, now? if any way to give you Star or feadback?

I am happy to talk to you. Thank you so much for having with me and helping me.

1 Like

I’m glad it worked! Good job!

1 Like