Override Class Declarations with Inline Styles- how to turn h1 element in white color

Override Class Declarations with Inline Styles- how to turn h1 element in white color
0

#1

Tell us what’s happening:

how to turn h1 element in white color…??

Your code so far


<style>
  body {
    background-color: black;
    font-family: monospace;
    color: green;
    
  }
  #orange-text {
    color: orange;
  }
  .pink-text {
    color: pink;
  }
  .blue-text {
    color: blue;
    .white-text {color: white;}
  }
</style>
<h1 id="orange-text" class="pink-text blue-text white-text">Hello World!</h1>
<h1 style="color: white;"></h1>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/override-class-declarations-with-inline-styles


#2

the inline style should be added to the <h1 id="orange-text" class="pink-text blue-text white-text"> Hello World! </h1> but not to that empty <h1> element.