Use Hex Code to Mix Colors. Help!

Use Hex Code to Mix Colors. Help!
0

#1

Tell us what’s happening:
Please can someone help me out here, i av tried to put all the necessary but to no avail

Your code so far

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

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

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

<h1 style="color:dodgerblue"class="dodger-blue-text">I am dodger blue!</h1>

<h1 style="color: orange "class="orange-text">I am orange!</h1>```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (Linux; Android 5.1; TECNO-L8 Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36```.

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

#2

Hey,

in your code is space missing

color:red"class="red-text"
color:red" class="red-text"

also, you should use the hex codes instead of the names.

Greetings


#3

Nope, actually am having problems on green and dodger blue, although they av turned to their respective colors


#4

Hi,
the task is to use the hex codes.

Replace the color words in our style element with their correct hex codes.

You can see it also below the Buttons on the left side, there you see what’s actually wrong with your code (or what is missing). There you should see:

Use the hex code for the color red instead of the word red.

Greetings


#5

Didn’t you see my code, i already did


#6

Haha, my bad.

So still the thing with the space between the end of your color:red" and class. Did you try that?
Because there HAS to be a space.