Create a Gradual CSS Linear Gradient

Tell us what’s happening:

whats error?
Your code so far


<style>

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

</style>

<div></div>

Your browser information:

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

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

correct is background: linear-gradiente(35deg, #ccffff, #ffcccc)

this is incorrect
it shows error “The div element should have a linear-gradient background with the specified direction and colors.”

that’s correct just fix the typos and you are good to go.

2 Likes