Help on STEP 50 in Color Marker Project

my code can’t pass the test, i think my code is right. But it can’t pass.

instruction :
Now you’ll apply a red-to-green gradient along a 90 degree line to the first marker.
First, in the .red CSS rule, set the background property to linear-gradient() , and pass it the value 90deg as the gradientDirection .

my code :
.red {
background: linear-gradient(90deg, red, green);

Challenge: Step 50

Link to the challenge:

just realized i dont follow the instruction clearly.
Solution is here :

background: linear-gradient(90deg);

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