I think that in the given case you should "Try it yourself" or a src attribute better explain! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

I think that in the given case you should "Try it yourself" or a src attribute better explain!

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

23rd Apr 2018, 1:55 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
1 Answer
+ 1
src is the path to a file. It can either be on the local system in which case it would be something like /images/avatars/bob.png" or it could be on a remote system in which case it's a full url. You can't host images on SoloLearn so in order for them to display on your code here you need to upload them to a hosting service like imgur and use the image link they provide.
23rd Apr 2018, 2:45 PM
Adam
Adam - avatar