Stuck on first css lesson

Hi, I am stuck on first css lesson , even though i have written the correct code the test result prompt me wrong. any idea how to fix this


<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.

Challenge: Change the Color of Text

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/change-the-color-of-text

Hi @i_am_learning,
Welcome to the FCC forum!
I tried your code and it passed all tests. Which tests are failing on your computer?

1 Like

Welcome, there.

Sometimes, the issue is that your browser settings. Do you have a browser extension that can interact with the DOM? Do you have an ad-blocker? Is your browser zoom level set to 100%?

Seeing as fCC does not have ads, we recommend from the get go, that you disable any ad-blocker for the domain. Also, Chrome is the best option, when it comes to browser compatibility. Other than that, make sure you do not have anything that could interfere with the tests.

Hope this helps.

1 Like

Hi @michaelsndr ,

BTW , I am going to try disabling adblock like @Sky020 suggested. i will reply with the results…

Hi , @Sky020 ,

  1. I am using chrome , and zoom is set to 100%
  2. I did disabled adblock like you said , but still no luck .

do you have a dark mode extension? try switching that off
try adding a space after the colon :

1 Like

Could you open up your devtools and tell us what is coming up, once you run the tests?

The first screenshot you sent looks like there is a space after the > of the h2's opening tag.
I would disable all extensions from having access to fCC, reset the code, and try again.

@ilenia , @Sky020 , bingo … I had dark mode activated… switched it off and it worked …
Thank you everyone for your time and wisdom.
salute.