Is says to do this "The div element should have a linear-gradient background with the specified direction and colors" I did it but there is a mistake plz help me to sort out

Tell us what’s happening:

Your code so far


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

}

</style>

<div#FFCCCC

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36.

Challenge: Create a Gradual CSS Linear Gradient

Link to the challenge:

It looks like you’ve done the CSS correctly, but you are doing something strange with the HTML. I don’t know what this is:

<div#FFCCCC

You didn’t need to change that. When I fix that, this passes for me.

1 Like