"Use Hex Code to Mix Colors"

please this challenge is not working for me, have tried the usual ask and search but am not getting any useful answerTell us what’s happening:

**here is my code so far… **

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

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

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

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

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

Your browser information:

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

Link to the challenge:
https://www.freecodecamp.org/challenges/use-hex-code-to-mix-colors

Also, you should use #2998E4 instead of #29984E for dodger-blue.

1 Like

please it’s not working can you show me an example code

  .red-text {
    color: #ff0000;
  }
  .green-text {
    color: #00ff00;
  }
  .dodger-blue-text {
    color:#29984e;
  }
  .orange-text {
    color: #ffa500;
  }
</style>

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

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

<h1 class="#29984E;">I am dodger blue!</h1>

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

You need to give the h1 a class of dodger-blue-text.

And as I said in my previous post:

1 Like
  .red-text {
    color: #ff0000;
  }
  .green-text {
    color: #00ff00;
  }
  .dodger-blue-text {
    color:#2998E4;
  }
  .orange-text {
    color: #ffa500;
  }
</style>

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

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

<h1 class="#2998E4">I am dodger blue</h1>

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

I still get the below option uncompletd
"Give your h1 element with the text I am dodger blue! the color dodger blue"

any example on how to do that ?

It’s not working even

thanks for the explanation it worked