Https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient

Trying to solve this challenge, but this error occurs: " The div element should have a linear-gradient background with the specified direction and colors."

There is someone who can tell me what to do?

Your code so far


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

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 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

1 Like

You’re almost there :smiley: !

I just saw a typo on your property :wink:

  backgroud: linear-gradient(35deg, #CCFFFF, #FFCCCC);

Very, very, very small typo. I did once too.

1 Like

Where ? :slight_smile:

I don’t see the word “backgroud” in my dictionary :wink: , unless I need get it updated :smiley: or pull a request :slight_smile: .

1 Like

Oh ! HAHAHA Thanks a lot man! :slight_smile: :slight_smile:

1 Like

Very welcome :sunglasses: . Here to help each other. Don’t forget to mark as solved, please, so others can find it instead do a same post about the same typo on this challenge.

Thank you for reaching us.

1 Like

Ya, I marked your first reply on the post as solved. :slight_smile: