Basic CSS: i cant Override Class Declarations with Inline Styles

Tell us what’s happening:

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 blue-text" style="color: white;>Hello World!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 OPR/72.0.3815.186.

Challenge: Override Class Declarations with Inline Styles

Link to the challenge:

@ anyone pls :sob: :pleading_face:

Hello !
you forget a " after white;
Happy coding

still doesn’t work @mehdimasmar

can you show me where did you do it?

1 Like

oh it works now i put a" after color :smiling_face_with_three_hearts:

1 Like