#CCFFFF and #FFCCCC not working for some reason

Tell us what’s happening:

Your code so far


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

}

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.

Challenge: Create a Gradual CSS Linear Gradient

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

The lesson here is asking us to

Use a linear-gradient() for the div element’s background , and set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC .

If you look at the linear-gradient you can see that it is formed by
background: linear-gradient(gradient_direction, color 1, color 2, color 3, ...);

It looks like you might be missing something within your linear-gradient!

2 Likes

I’m so dumb I forgot to put the semicolon. I’m a mess I keep forgetting that then get mad when my code won’t work.
Thank you so much I appreciate it.