Use Abbreviated Hex Code problemm

Use Abbreviated Hex Code problemm
0

#1

Tell us what’s happening:

Where is the problem?I did everything right but it no work!!!

Your code so far

<style>
  .red-text {
    color: #F00;
  }
  .fuchsia-text {
    color: #F0F;
  }
  .cyan-text {
    color: #0ff;
  }
  
  .green-text{
    color:#0F0;
  }
</style>

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

<h1 class="fuchsia-text" style="color:fuchsia">I am fuchsia!</h1>

<h1 class="cyan-text" style="color:cyan">I am cyan!</h1>

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

image

I give the message only for the green !


#2

Why are you using style=“color:green”? The challenge wants you to use the class names only.


#3
.red-text { color: #F00; } .fuchsia-text { color: #F0F; } .cyan-text { color: #0ff; } .green-text{ color:#0F0; }

I am red!

I am fuchsia!

I am cyan!

I am green!

image

I give the message only for the green !


#4

The challenge does not ask you to use style=" color:green". You don’t need any of the style="" for this challenge.


#5

Yes thank you very much.