SOLVED-Create a Gradual CSS Linear Gradient-my code isnt working

SOLVED-Create a Gradual CSS Linear Gradient-my code isnt working
0.0 0

#1

Tell us what’s happening:

Your code so far


<style>

  div{ 
    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin: 50px auto;
    background: linear-gradient(45deg, red, blue, #FFF000 );
    
  }

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

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


#2

I just ran your code within the challenge. Check your error log.


#3

Also, read carefully the instructions. You need to follow them EXACTLY.


#4

thanks .seen my error


#5

No problem! :slight_smile:


#6

so i put in the missing instructions and still getting an error


#7

Make sure you are reading the instructions VERY carefully. The challenge is looking for a very precise solution. Can you show me your code?


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

#9

This code is working for me. Try refreshing your page and pasting it back in.


#10

thanks mate,its working now


#11

Congrats on finding the solution!