Background gradient not working

Background gradient not working
0

Tell us what’s happening:
I’m working on the free code camp linear gradient exercise. It won’t let me past it. I am entering the correct answer.

Your code so far


<style>

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

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0.

You forgot the linear-gradient part:

div {
   background: linear-gradient(35deg, #..., #...);
}

sorry about that here is the code I do have the linear gradient part:
background:linear-gradient(35deg,#CCFFFF,#FFCCC);

You are missing a “C” in your last color value.

#FFCCCC

That fixed it! I was missiing a C

Also very strict with spaces ’ ’ between comma and colorcode