Nherit Styles from the Body Element

Tell us what’s happening:

Your code so far



<style
    body {
    background-color: green;
  }

  .h1{
   font-family: monospace;
    color: green;
  }
  
</style>
<body}>

<h1 class="h1"> Hello World</h1>

</body> 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

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

Hi @Chuksmelody, check carefully your tags. One of them is incomplete.
Edit: and another one is written badly

You are also applying styles to a class you were not asked to make. All the styles goes inside the body selector.

BTW you don’t need to add the body element, you can just add the <h1>.