+ 1

Hi there. I was wondering if anyone can help me with this linear gradient? I don't understand why it's not working. Many thanks.

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

23rd Jul 2020, 5:19 PM
Kate Saunders-Puntis
Kate Saunders-Puntis - avatar
2 odpowiedzi
+ 4
you have a line break after the parentheses. yo have this background:linear-gradient (90deg,red,yellow); Correct sintax: background:linear-gradient(90deg,red,yellow);
23rd Jul 2020, 5:27 PM
Emanuel Maliaño
Emanuel Maliaño - avatar
0
Thank you! I didn't realise it was quite that sensitive to spaces!
23rd Jul 2020, 5:31 PM
Kate Saunders-Puntis
Kate Saunders-Puntis - avatar