Use Hex Code to Mix Colors 11

Use Hex Code to Mix Colors 11
0.0 0

#1

Can somebody please help me here, I think I got the first part right but the problem is with the h1 element. I’ve tried different declarations but not working

Your code so far

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

<h1 class="#FF0000">I am red!</h1>

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

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

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 5.0.2; A3-A30 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Safari/537.36.

Link to the challenge:


#2

You’re not using the proper class name for the first <h1>


#3

Hi prizemac,

You seem to be missing a body tag, also in the tick boxes below the ask for help on the forum button, it says:

-Give your body element the background-color of black.
-Use the hex code for the color black instead of the word black. For example body { color: #000000; }

I hope this helps you.


#4

Class for your first h1 element should be “red-text” not “FF0000”