+ 3

I haven't uploaded the images into a folder in sololearn. So I think the images aren't being displayed.

https://code.sololearn.com/WSMJu9FAAB7U/?ref=app How can I solve this problem. And how can I upload for instance 2 files like chat.js and bot. js into the code editor (in JS tab) as there is no separate option.

30th May 2017, 5:12 AM
Vishnu ks
Vishnu ks - avatar
10 Respostas
+ 6
There is no where to store them here. You will need to place them somewhere on the internet that is accessible by everyone. Somewhere like a free image hosting service (such as https://imgbb.com/). if you already have a web hosting service you can upload them there
30th May 2017, 6:53 AM
jay
jay - avatar
+ 9
You can upload your images to a site like imgur.com then use a link in your code to display the image eg https://code.sololearn.com/W0Ah5WmNz6QR/?ref=app
30th May 2017, 7:32 AM
Michael Foster
Michael Foster - avatar
+ 5
in your code <img src> bit you would include something like <img src ="https://goo.gl/images/Tzf0h1"> but with the link to your image/s
30th May 2017, 7:01 AM
jay
jay - avatar
+ 4
Tq @jay
30th May 2017, 7:09 AM
Vishnu ks
Vishnu ks - avatar
+ 4
i imagine you could do the same method. not sure about that one. i dont javascript. but dare say you could upload them to a webhost somewhere and include them here
30th May 2017, 7:23 AM
jay
jay - avatar
+ 3
you will need to store images elsewhere(another server) and link them in your code.
30th May 2017, 6:46 AM
jay
jay - avatar
+ 3
@jay In the code editor how can I add 2js files (chat.js, bot. js) since there is no separate option.
30th May 2017, 7:14 AM
Vishnu ks
Vishnu ks - avatar
+ 3
K le me try
30th May 2017, 7:24 AM
Vishnu ks
Vishnu ks - avatar
+ 2
Can you plz explain in depth @jay
30th May 2017, 6:48 AM
Vishnu ks
Vishnu ks - avatar
+ 1
For sololearn programs you can't put images stored on your device so you might have to use a CDN (content delivery network) to link images in the page or use data uri images by converting your images into text that HTML can display as a image.. You can convert your images here https://websemantics.uk/tools/image-to-data-uri-converter/ https://code.sololearn.com/WC54BZf4fJ94/?ref=app
4th Sep 2017, 3:03 AM
Kalo 'smi
Kalo 'smi - avatar