Learn CSS colors by editing, Step 52, where is my typo?

This is telling me that my code does not pass but I have typed exactly what it says I should have. Do I have a typo I’m not seeing? I’ve tried editing for spaces - adding them in before the RGBs and removing them.

My code

.red {
  background: linear-gradient(90deg, rgb(255, 0, 0) rgb(0, 255, 0));
}

What it says I should have:

Hint

Your .red CSS rule should have a background property set to linear-gradient(90deg, rgb(255, 0, 0), rgb(0, 255, 0)).

Challenge: Step 52

Link to the challenge:

Aha, thank you. I knew there was something I wasn’t seeing. Missing comma.

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