Override Class Declarations by Styling ID Attributes ps

Override Class Declarations by Styling ID Attributes ps
0

#1

Tell us what’s happening:

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/7.0.185.1002 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/override-class-declarations-by-styling-id-attributes


#2

<h1 class="pink-text blue-text" id= "orange-text">Hello World!</h1>

delete the space between id= and "orange-text"


#3

NOT WORKING

Hello World!

delete the space between id= and "orange-text


#4

whoops, also this:

#orange-text {
    color : brown;
  }

brown should be orange :smiley:


#5

#orange-text {
color : brown;
}

thanks