Correct Code not passing

Tell us what’s happening:
I am doing Improve Readability with High Contrast Text challenge.

Challenge only requires changing the color to dark grey.
I added color and ran tests however it results in the error.

Checking solution and my code is identical.
I cleared the cache and data and relogged back in but same error occurred.

// running tests Your code should change the text

color

for the

body

to the darker gray. Your code should not change the


background-color


for the

body


. // tests completed
  **Your code so far**

<head>
<style>
body {
  color: #636363;
  background-color: #FFF;
}
</style>
</head>
<body>
<header>
  <h1>Deep Thoughts with Master Camper Cat</h1>
</header>
<article>
  <h2>A Word on the Recent Catnip Doping Scandal</h2>
  <p>The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.</p>
  <p>As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.</p>
</article>
</body>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

Challenge: Improve Readability with High Contrast Text

Link to the challenge:

I ran your code on google chrome and it passed for me.

It could be an extension you have, but I can’t say for sure

2 Likes

HI @flebber.crue !

Welcome to the forum!

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

1 Like

Thanks it was the Dark Mode extension. Disabled one by one and it was definitely the cause.

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