Problem with - Inherit Styles from the Body Element

Problem with - Inherit Styles from the Body Element
0

#1

Tell us what’s happening:

Your code so far


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


<h1> Hello World </h1>
</style>

Your browser information:

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

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


#2

Good try,

Make sure your h1 element is outside of style tags.


#3
<style>
  body {
    background-color: green;
    font-family: monospace;
    color: green;
  }
  

</style>

<body>
<h1>Hello World</h1>
</body>

it work for me.