Tell us what’s happening:
What is going on? It’s exactly the same codes for red and blue as for orchid and sienna… but I get these messages:
X Give your h1
element with the text I am red!
the color
red.
X Use rgb
for the color red.
Same goes for blue.
Your code so far
<style>
.red-text {
color: rgb(225, 0, 0);
}
.orchid-text {
color: rgb(218, 112, 214);
}
.sienna-text {
color: rgb(160, 82, 45);
}
.blue-text {
color: rgb(0, 0, 225);
}
</style>
<h1 class="red-text">I am red!</h1>
<h1 class="orchid-text">I am orchid!</h1>
<h1 class="sienna-text">I am sienna!</h1>
<h1 class="blue-text">I am blue!</h1>