Override All Other Styles by using Important - not working

Override All Other Styles by using Important - not working
0

#1

Tell us what’s happening:

I added the !important keyword as instructed and it does not appear to be working.

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;
  }
</style>
<h1 id="orange-text" class="pink-text !important; blue-text" style="color: white">Hello World!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10575.58.0) 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/override-all-other-styles-by-using-important


#2

I don’t see !important in your CSS


#3

You have added it to wrong place. Inline styling don’t need !important coz it has precedence over any other style