Create a Gradual CSS Linear Gradient - HELP ME

Tell us what’s happening:

I was doing Applied Visual Design - Gradual CSS Linear Gradient.

As instructed I am suppose to apply a linear-gradient on my background with the following setting:
background: linear-gradient(35deg,#CCFFFF,#FFCCCC)

I do not know why it won’t accept my answer.

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 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15.

Give it a semicolon :slight_smile:

1 Like

Yes, I already figured it out as well.
I was about to delete the post, but the forum wont let me unless I use flag or something.

Thank you for your help.