Baller
August 22, 2017, 10:45pm
1
I’m having a bit of a problem with this one. This is my code
<style>
.red-text {
color: #000000;
}
.orchid-text {
color: #000000;
}
.sienna-text {
color: #000000;
}
.blue-text {
color: #000000;
}
</style>
<h1 class="(0, 0, 255-text">I am (0, 0, 255)!</h1>
<h1 class="orchid-text">I am (218, 112, 214)!</h1>
<h1 class="sienna-text">I am (160, 82, 45)!</h1>
<h1 class="blue-text">I am (0, 0, 255)!</h1>
(0, 0, 255-text
is not the name of a class.
MrJoe
August 24, 2017, 11:34am
5
The code looks good except for the first h1, where you have edited the class name to “(0, 0, 255-text” instead of “red-text”.
Baller
August 28, 2017, 11:31pm
6
hello still having a bit of an issue. This is how far I’ve progressed so far.
<style>
.red-text {
color:rgb(255, 0, 0)
}
.orchid-text {
color: rgb(218, 112, 214)
}
.sienna-text {
color: rgb(160, 82, 45)
}
.blue-text {
color: rgb(0, 0, 255)
}
</style>
<h1 class="red-text">I am (255, 0, 0)!</h1>
<h1 class="orchid-text">I am (218, 112, 214)!</h1>
<h1 class="sienna-text">I am (160, 82, 45)!</h1>
<h1 class="blue-text">I am (0, 0, 255)!</h1>
someone please help?
And you only need 1 set of the RGB values in the code.
…It’s still saying I don’t have the blue output blue in color, and it is displayed as such. It also says I don’t have rgb included in my declaration, and it is so.
Well, I’ve tried it with orange because when I clicked on ‘hint’ it just gives the orange code. However, that still did not work out for me… Lol!
<style>
.red-text {
color: rgb(255, 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>