Stuck in Basic CSS: Inherit Styles from the Body Element

I am not able to figure out my error . Can anyone help ?

I’ve heard days ago, that if you’re using a plugin/addon for dark mode, it might interfere with the css. If that’s the case, try to disable/remov the puglin and test again.

Apart from that, the code seems fine to me, so you’re getting the hang of it.

One thing I’d mention, is that not all styling you put in the body will be inherited. Just stuff like color, background-color, font properties; but not margin, or padding.

Last but not least, if you can get around the exercise, I’d try to add h1{color:blue} and think what’s going on in there.