Override All Other Styles by using Important: can't spot the error

Override All Other Styles by using Important: can't spot the error
0.0 0

#1

Tell us what’s happening:

It is telling me “Your h1 element should have the inline style of color: white.” but I clearly have that code written. Am I overlooking something simple?

Your code so far

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

Your browser information:

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

Link to the challenge:


#2

Figured it out! They had to be on the same line !