My image src is not display in browser. I do it in a class. Thanks you.

Display src image. https://code.sololearn.com/WHyrcONgmMW7/?ref=app

15th Feb 2021, 3:28 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
hi Malick Diagne that is probably becauase of an issue with the file location. if you want the image to display the image try putting the html file in the same file as the image and then just doing src=“imagename + file_type” with no spaces
15th Feb 2021, 3:38 AM
Ollie Q
Ollie Q - avatar
This question comes up a lot. Codeplayground is not actually a local text editor. So you can not add files locally. Instead upload your images to the cloud. Use Dropbox or Google docs and create an external link to your file. Some of our community members have made tutorials for this. https://code.sololearn.com/WW6t4B73kJVz
15th Feb 2021, 1:40 PM
Chris Coder
Chris Coder - avatar