Not able to pass the Gradual CSS Linear Gradient challenge even though entered correctly

Tell us what’s happening:
I am doing exactly as it requests, and when I run the tests I’m still getting a message that “The div element should have a linear-gradient background with the specified direction and colors.”

I’m not sure what I’m missing here, but from what I can tell this should be absolutely correctly done.

Your code so far


<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 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

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

1 Like

The test is very picky about a semicolon at the end of each line, even the last one,

3 Likes

haha…that was it! Thank you so much. I didn’t even catch that. That did it!