The Hex code does not work

My code does not change the display
When I put the code of dodger blue, it stays black.

  **Your code so far**

.red-text {
  color: FF0000;
.green-text {
  color: 00FF00;
.dodger-blue-text {
  color: 1E90FF;
.orange-text {
  color: FFA500;

<h1 class="red-text">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:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15

Challenge: Use Hex Code to Mix Colors

Link to the challenge:

You should revisit the lesson.
For instance the lesson shows the hex code of dodger blue to be
Dodger Blue #1E90FF

This is not what you’ve coded. (The other colors are also coded incorrectly even though they seem to appear in the preview)

1 Like

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