Create a Gradual CSS Linear Gradient... Whats wrong?

Create a Gradual CSS Linear Gradient... Whats wrong?
0

#1

First, sorry… Can’t get the lines of this post in a normal format…

Tell us what’s happening:

Seems like i got the right code but i have no idea… Tried closing and restarting the page in chrome and Safari but both won’t work…

Your code so far

html

<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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

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


#2

Can’t read your code.

Can you try deleting your entire code and reformat it in the editor?


#3

Your code is technically correct, but the tests are picky and are not expecting to see the space before the 2nd comma (after the #CCFFFF).


#4

Thanks! @randelldawson That worked indeed :slight_smile: