Define the body properties

Tell us what’s happening:

  **Your code so far**

<style>
body {
  background-color: black;
 font-family: monospace;
 
}
h1{
  color:green;
}
</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/88.0.4324.182 Safari/537.36.

Challenge: Inherit Styles from the Body Element

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Hi,

Please read the text again!

adding color: green; to your body element's style declaration.

The question is not to do that extra for h2!

1 Like

This sentence is very hard to understand. It seems you have asked the question as a statement. Are you having trouble with the html or the css?

Thanks I’ve solved it already