+ 1
Why the CSS code doesn't work?
Can somebody tell me why the background image which i set in the CSS isn't display on the page! https://code.sololearn.com/WlMiWf3q0dB6/?ref=app
2 Answers
+ 5
Because you didn't tell it where you're storing the image at.
You put:
background-image: url("css_logo.png");
^What location is that referencing? Since you're not running your CSS from a server, you need to specify where it'll be obtaining the image from.
+ 4
Well where is the image hosted? You will need to provide a full url to this image when using on solo learn.