Peute
1
Learn about Tertiary Colors
“The div
element with class orange
should have a background-color
of orange.”
How i can do it?
<style>
body {
background-color: #FFFFFF;
}
.orange {
background-color: #FF7D00;
}
.cyan {
background-color: #00FFFF;
}
.raspberry {
background-color: FF007F;
}
div {
height: 100px;
width: 100px;
margin-bottom: 5px;
}
</style>
<div class="orange"></div>
<div class="cyan"></div>
<div class="raspberry"></div>
ILM
2
what’s the challenge you are doing? can you give the link?
Your code has:
.orange {
background-color: #FF7D00;
}
The failing test says:
The div
element with class orange
should have a background-color
of orange.
The instructions give this as the “orange” that they want:
orange #FF7F00
Do you see your mistake? You gave an orange, and maybe we can’t easily tell the difference, but the test is looking for that exact color code.
If I fix that, changing one character, your code passes for me.
1 Like
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.