Hi ,somebody help me pleas , why my gradients don't work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hi ,somebody help me pleas , why my gradients don't work?

https://code.sololearn.com/WmShC9XxA16y/?ref=app

20th Oct 2018, 4:46 AM
Eliza Prus
Eliza Prus - avatar
7 Answers
+ 5
Eliza Prus I already fixed it and sent it to you
21st Oct 2018, 8:54 PM
Armann
Armann - avatar
+ 5
sorry , it's ok now . the problem was the background (you've put "background:blue;") which if you want to set a blue background , use : background-color:blue; you see , the difference is : -for linear-gradient => use background -for background colors => use background-color https://code.sololearn.com/WkiZF27l0Jfd
22nd Oct 2018, 12:18 PM
Armann
Armann - avatar
+ 5
hi , not a big deal . 🙂
23rd Oct 2018, 1:06 PM
Armann
Armann - avatar
+ 3
Eliza Prus Actually , when writing html you shouldn't put these elements in head ; that's why css isn't working . you've mentioned "head" in css , while you can put your element ( which is h1 here ) in the body with an id to call it in css and do whatever you want. check this : https://code.sololearn.com/WH32hv8Qm6wf/?ref=app
21st Oct 2018, 12:01 PM
Armann
Armann - avatar
+ 3
Thanks , i try fix It.
21st Oct 2018, 3:49 PM
Eliza Prus
Eliza Prus - avatar
+ 2
Cod you send don't show its only screen no connection .
22nd Oct 2018, 4:26 AM
Eliza Prus
Eliza Prus - avatar
+ 2
Hi Armann thanks a lot for helping me , you do ti . I owe u one ;)
23rd Oct 2018, 11:45 AM
Eliza Prus
Eliza Prus - avatar