I have found the best and simple way to use your image in sololearn compiler.
1.open this https://imgur.com/upload
2. Create acc and upload your image and copy link you will get after uploading image.
3.paste that link in <img src
Example see my code below in CSS part.
You just have to copy the URL of that image and paste it in the img tag..Like I have done to my these codes.