Referring to a local file (HTML & CSS) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Referring to a local file (HTML & CSS)

I have tried to link some local images from my device to my new code ( Memory Game ), but I found that only links from an external webpage are available. Is there any way I can use local files like images or fonts in SoloLearn? Also, I want to know your opinion of my simple game xD.. https://code.sololearn.com/WSOjRWSVhu89/?ref=app

30th Dec 2018, 11:03 AM
Kirollos Ashraf
Kirollos Ashraf - avatar
6 Answers
+ 2
Your words motivated me alot😍 I'll do my best to introduce some more things in the code. Like displaying the time taken by the user. Or in other words the score
30th Dec 2018, 11:34 AM
Kirollos Ashraf
Kirollos Ashraf - avatar
+ 2
Paul thanks for the info.
31st Dec 2018, 6:50 PM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 1
Paul It's the first time I know about data urls of imgs.. I'll search more about it. Thanks alot
31st Dec 2018, 12:52 PM
Kirollos Ashraf
Kirollos Ashraf - avatar
+ 1
A new method for me.. Thanks Paul ♥️♥️
31st Dec 2018, 1:40 PM
Kirollos Ashraf
Kirollos Ashraf - avatar
0
Thanks alot♥️
30th Dec 2018, 11:28 AM
Kirollos Ashraf
Kirollos Ashraf - avatar
0
Yes, I see It's for very small images only. I was looking only for a way to display images in SoloLearn.. But outside here, using any text editor and the browser,It's easy to refer to an image using its local url only.
31st Dec 2018, 1:47 PM
Kirollos Ashraf
Kirollos Ashraf - avatar