Styles from the Body Element

Styles from the Body Element
0.0 0

#1

Tell us what’s happening:
this code does not seem to work, this should be simple why does it not work

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 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

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


#2

The <h1>...</h1> doesn’t go inside <style>.