Possible bug? Or is there something I'm missing? (early stage CSS challenge)

I can’t figure out what I’m doing wrong for this challenge, I’ve tried resetting the code several times, all with the same result. What’s odd is that the h2 element turns blue in the page itself but it seems that ctrl+enter isn’t recognizing said change. Unless there is something that I’m overlooking?

Please post your actual code and a link to the challenge. It’s hard to read pictures and we can run the code in a picture ourselves very easily. Thanks

<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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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>

Thanks.

It seems fine to me. Are you using a dark mode extension? Those work by changing your CSS, so they break our tests.

1 Like

I was, thanks for mentioning that Jeremy! I never would have thought of that.

1 Like

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