+ 3

What Is the error in my code please

Making gradients. The error is exactly with angle gradient."100deg" I think. https://code.sololearn.com/W1QAB1rUOiPz/?ref=app

30th May 2020, 7:06 PM
Amal Gil
Amal Gil - avatar
5 Réponses
+ 3
I can see no error message there.
30th May 2020, 7:09 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 3
You should remove 'bottom left' from the div.second definition. It confuses the parser. Then the degrees will work.
30th May 2020, 7:27 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Kuba Siekierzyński that right . Though the second gradient should be displayed in the page . >>second:100 deg where it contains the angle"100deg"
30th May 2020, 7:16 PM
Amal Gil
Amal Gil - avatar
+ 1
sid okay.thank you
31st May 2020, 7:06 AM
Amal Gil
Amal Gil - avatar
0
Only either 100 deg or bottom left will work but not the both. the problem is not with the angle or direction but you used both of them. so it got confused
31st May 2020, 2:03 AM
sid
sid - avatar