Applied Visual Design: Create a Gradual CSS Linear Gradient Erro

Tell us what’s happening:

Hey guys can someone helpe me?
In priview its right but I can pass by this lesson.
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 .
Thank you!

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/88.0.4324.104 Safari/537.36.

Challenge: Create a Gradual CSS Linear Gradient

Link to the challenge:

Hi @Larisse !

Welcome to the forum!

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

1 Like

Hi @jwilkins.oboe , thank you! It’s working now.