What Am I doing wrong?

I am working on Front End Development Certification, and now I am on point Use RGB to Mix Colors
This is my code:

<style>
  .red-text {
    color: rgb(255, 0, 0)
  }
  .orchid-text {
    color: rgb(218,112,214);
  }
  .sienna-text {
    color: rgb(160,82,45);
  }
  .blue-text {
    color: rgb(0,0,255);
  }
 
</style>

The problem is that I am stuck here because when I run a test I got a green checkmark in all of them except one that says Use rgb for the color red. On the screen simulator, the text changed to red, so I cannot see the problem.

I think you’re missing a semicolon.

Also, I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

1 Like

Thank you for the info and help.