Create a Gradual CSS Linear Gradient not working

Create a Gradual CSS Linear Gradient not working
0

#1

Tell us what’s happening:
I don’t know what’s wrong with my code, it does not want to work, and as far as I can see it should be okay.

Your code so far


<style>

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

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

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


#2

You’re very close, you just need to close the CSS with ;

every CSS element should end with ;


#4

I made it pass by removing the spaces in the line
background: linear-gradient(35deg, #CCFFFF, #FFCCCC);