Exercise seem to be broken

Tell us what’s happening:
Describe your issue in detail here.

  *Code*

<style>
body {
  background-color: black;
  color: green;
  font-family: monospace;
}
</style>

<h1>Hello World</h1>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Challenge: Inherit Styles from the Body Element

Link to the challenge:

SOLVED

I don’t know how, but my chrome extension dark reader was problem.

1 Like

Hey @zzrot . Welcome to the freeCodeCamp forum. I just tried the lesson here and I have the same extension. As soon as I disabled it, the code worked. Some extensions seem to interfere with the challenges, specially when they involve styling. Great that you solved it by yourself. Welcome again and happy coding.

Extensions that change the styling of a page will do so by changing the CSS and HTML of the page. That means that tests which check the CSS and HTML are likely to fail.

2 Likes