Use Hex Code to Mix Colors-

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

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

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

<h1 style="#1E90FF;" class="dodger-blue-text">I am dodgerblue!</h1>

<h1 style="color:#FFA500;"class="orange-text">I am orange!</h1>

the error says “use the hex code for the color dodger blue instead of the word dodgerblue.”— i tried putting in the hex code 1E90FF into the place where it says >I am dodgerblue!- but it was still incorrect- unsure what to do.

The lone semicolon on its own line is throwing the tests off.

1 Like

How many semicolons do you have at .dodger-blue-text ?

1 Like