Override Class Declarations Beginner

Override Class Declarations Beginner
0.0 0

#1

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:


#2

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!


#3

Looks as if you accidentally deleted the closing } for your blue-text class definition.


#4

Ah man it works, thank you so much!