Override Class Declarations Beginner

Help me… Nothing is change. The h1 text wont change into orange. Could someone help me?

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/override-class-declarations-by-styling-id-attributes

Can you please have a look at your <h1> and see how it should (or maybe should not) be orange?

I can’t spot anything wrong with your code, so I suspect that you haven’t actually completed all the steps necessary to make the text inside the <h1> element orange.

Good luck!

1 Like

Ah man it works, thank you so much!