Help With Override Class Declarations by Styling ID Attributes

Hi! I’m not sure what I’m doing wrong, can someone please help me?

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: 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/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7.

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

Attribute should be assigned value using “=” symbol, not “:”.

Just change id:“orange-text” to id=“orange-text”

1 Like

thank you!!! :smile: