How can I add a background image? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can I add a background image?

I have used the the attribute background but it does not show anything. I have put the image name,.....do I have to describe its path also? To add a background image in my code is not working in this application. https://code.sololearn.com/WHt0JDcmFC8J/?ref=app

7th Apr 2018, 3:51 PM
Hamza Aziz
Hamza Aziz - avatar
1 Answer
+ 15
SL Playground works with full paths. If you want to add images from your local storage, you have to upload them to image hosting and then use that link. https://www.sololearn.com/discuss/389765/?ref=app https://www.sololearn.com/discuss/1054246/?ref=app
7th Apr 2018, 4:03 PM
NezhnyjVampir