Create a Gradual CSS Linear Gradient Can not pass this thing

Tell us what’s happening:
Not able to complete this module - help, please.

Your code so far


<style>

  div{ 
    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin: 50px auto;    
    background: linear-gradient(23deg, #1a1a1a, #fff);
  }
  div{
    background: linear-gradient(23deg, #1a1a1a, #fff);
  }

</style>

<div style="background: linear-gradient(23deg, #1a1a1a, #fff);"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

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

Try to follow the instructions. Here they are again:

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.

1 Like

@hbar1st thank you! I wasn’t paying close attention. I appreciate your reply. Sincerely.

1 Like