I think this lesson might be broken?

I've been trying to finish this lesson for awhile now, but it JUST doesn't seem to work! I've done exactly what they told me to, in fact just to make sure that I wasn't doing anything wrong, I clicked on the "get a hint" menu inside of "get help" and turns out, that's exactly what I needed to do, but for some reason the " Your body element should have the color property of green." and " Your h1 element should inherit the color green from your body element." is crossed out! even though I did put the color property green inside the style element and the the h1 element DID turn green after I did that, what gives?

Here's the code I put in there:


<style>
body {
  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/79.0.3945.88 Safari/537.36.

Challenge: Inherit Styles from the Body Element

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/inherit-styles-from-the-body-element

Are you using a browser extension that might be changing the colors of the page, like a night mode?

1 Like

whoops! sorry, it worked! thank you very much good sir

I would try turning it off first because it can interfere with the tests.

1 Like