I cant go ahead of this (Use CSS Selectors to Style Elements)

Tell us what’s happening:
My h2 is blue in slide but there is a cross in the exercise menu.
its turning blue in the slide but its stuck, i am having a cross sign before that task!!

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="/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 6.1; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

I tried the code and it passes. Try an incognito tablat and see if it works onto there

I got it I was having the dark mode on!
Its a bug… :joy:

If you have a browser extension that changes the colors or appearance of web pages, it will cause some tests to fail. This is because it is changing the styling of the page. The extension has made the text a different color than the one required by freeCodeCamp.

freeCodeCamp has a “night mode” built in, if you prefer darker colors.

You will want to turn off any extensions like this when you are working with HTML/CSS (like when you do your projects). Otherwise, the result that you see will be very different than what everyone else sees.

yes i got to know this just minutes before thank you!! :innocent: :innocent:

Ok. You made a comment about a “bug” so I wasn’t sure that you understood what was happening.

1 Like

Yes I got to know thanks for having a second message asking “that you understood naa”… :heart_eyes: :heart_eyes:

Okee dokee. Happy coding!