Inherit Style from the Body Element

Inherit Style from the Body Element
0

#1

Tell us what’s happening:
why h1 not getting color?

Your code so far

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

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G532F Build/MMB29T) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.4 Chrome/51.0.2704.106 Mobile Safari/537.36.

Link to the challenge:


#2

The <h1> becomes green when I tried it. If it’s not passing, try hitting the reset button, then try again.