Tell us what’s happening:
My h1 element isn’t white
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">Hello World!</h1>
<h1 style="color: green">```
**Your browser information:**
Your Browser User Agent is: ```Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.78 Chrome/60.0.3112.78 Safari/537.36```.
**Link to the challenge:**
https://www.freecodecamp.org/challenges/override-class-declarations-with-inline-styles
Where are you setting it to white
?
I figured it out had to play around with the code a lil. Thx Ariel
trap1
November 27, 2017, 6:34am
4
@ayoskip , I am getting the same error and have tried moving some of the code around as well, how did you solve this challenge? I have been soaring thru the challenges but this one has me stumped! Anyone else can chime in too, please. Thank you in advance.
Show us your code @trap1 and we can see where you got stuck more clearly.
That’s the best way to figure something out.
i am getting same error,how to solve it.help me
Feight
February 28, 2018, 10:13am
8
it is asking for you to style your h1 when you declare it:
<h1 style="color: [INSERT COLOR]">
this will override the css styling, but make it harder to change later.