The Abbreviated Hex Code

The Abbreviated Hex Code
0

#1

Tell us what’s happening:
The abbreviated hex code for the green color is not working. If I am doing it wrong please let me know.

“Use the abbreviated hex code for the color green instead of the hex code #00FF00.”

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">I am red!</h1>

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

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

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.

Link to the challenge:


#2

You’re just missing a semicolon.


#3

sigh…Thank you very much.(always the semi-colons)


#4

That’s the life that we’ve chosen.