Create a Gradual CSS Linear Gradient_05

Create a Gradual CSS Linear Gradient_05
0

#1

Tell us what’s happening:
I’m not getting any response to my code in the lesson. I realize there is nothing between the bottom <div> tags, but the lesson didn’t require me to put anything there. Note that the instructions did not ask for background-image: just background: This is what comes up when I run the test:
// running test
The div element should have a linear-gradient background with the specified direction and colors.
// tests completed
It seems to me that I did that.

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:
Google Chrome
Version 67.0.3396.99 (Official Build) (64-bit)
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient


#2

Try removing the space after linear-gradient


#3

I tried that, but it didn’t work.


#4

Are you sure? It works when I removed the space between linear-gradient and (35deg (both in Firefox and Chromium)


#5

Okay, it worked. I put the space in the wrong place. Thank you very much!!