Inherit Styles from the Body Element 1

Inherit Styles from the Body Element 1
0

#1

Tell us what’s happening:

Your code so far


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

  }
  

</style>
<h1 text="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/67.0.3396.99 Safari/537.36.

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


#2

the first instruction was to create an h1 element with the text Hello World

Since you are struggling with this, here’s an example of how to do that.
Let’s say someone asks:
Write a p element with text All The Single Ladies
so you do this

<p>All The Single Ladies</p>

Can you look at what I did here and try to follow a similar method to create your h1 element?