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

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

Can’t read your code.

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

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).

1 Like

Thanks! @RandellDawson That worked indeed :slight_smile: