Basic CSS: Use Hex Code to Mix Colors

Tell us what’s happening:
hi im using the correct color code for red. but still i get message, " The hex code
for the color red should be used instead of the word red"
i cant move forward. can some one help me on this.

Your code so far


<style>
.red-text {
  color : #FF0000;
}
.green-text {
  color: #00FF00;
}
.dodger-blue-text {
  color: #1E90FF;
}
.orange-text {
  color: #FFA500;
}
</style>

<h1 class="red-text">I am red!</h1>

<h1 class="green-text">I am green!</h1>

<h1 class="dodger-blue-text">I am dodger blue!</h1>

<h1 class="orange-text">I am orange!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Use Hex Code to Mix Colors

Link to the challenge:

Hey @nas7540!
Welcome to the Forum!

The space between color and the semicolon is causing the problem, in this line

great … thanks for the quick help

1 Like