Create a Gradual CSS Linear Gradient Fail

Create a Gradual CSS Linear Gradient Fail
0

#1

Instructions:
Use a linear-gradient() for the div element’s background, and set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC.

My code:

div{ border-radius: 20px; width: 70%; height: 400px; margin: 50px auto; background: linear-gradient(35deg, #CCFFFF, #FFCCCC) }

The results are visually correct. Doesn’t go through.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient


#2

You’re missing the semicolon at the end of your declaration :wink: