Create a Gradual CSS Linear Gradient2

Create a Gradual CSS Linear Gradient2
0

#1

Tell us what’s happening:

It asks me to do the following:

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.

but it doesn’t tell me which hex values to use

Your code so far


<style>

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

</style>

<div></div>

Your browser information:

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

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


#2

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

This was the instruction, but you have added different color codes and there as from the suggestion there are only three parameters, degree is correct and then there must be only two params, double check it for doubts


#3

thank you I was making it more complicated than it actually was, I figured is out