It keeps saying this: // running tests Your h1
element with the text I am red!
should have the color
red. You should use rgb
for the color red. Your h1
element with the text I am blue!
should have the color
blue. You should use rgb
for the color blue. // tests completed
But I checked it against the solution and my code is correct, and I double checked all my code line by line…
<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>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
.
Challenge: Use RGB to Mix Colors
Link to the challenge: