Create a Gradual CSS Linear Gradient POSSIBLE BUG

Create a Gradual CSS Linear Gradient POSSIBLE BUG
0.0 0

#1

Tell us what’s happening:
Possible bug in this linear-gradient question.

I believe I gave the correct answer.

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 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

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


#2

Hello Matthew,

There is no bug, but if we copy and paste your code to try it fails.

This is becasue of space before ) , remove the space and it passes.


#3

Thanks NULL_dev

I didn’t notice that space thanks for helping.