I think i have wrote the correct code but still its showing me errors

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

.red-text {
   color: #F00;

.fuchsia-text {
        color: #F0F;

.cyan-text {
  color: #0FF;

.green-text {
  color: #0F0;


<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:**

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

Challenge: Use Abbreviated Hex Code

Link to the challenge:

You are missing a closing curly brace (}). When I add that in the proper place, your code passes for me.

1 Like

thanks for pointing out the mistake in my code.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.