Hello, If you want to add image in codepen editor then its not going to work if you are not a pro user.
So using this simple trick you can host image from github and use anywhere on the internet.
1 : Go to github.com and create a empty repo ex- host-image
2 : got to issue section and create a issue
3 : Drag and drop the image you want to host
4 : Then it will generate a url
5 : Use this url to codepen or anywhere
I hope you like it if you know some other tricks please share!
you can follow me on twitter @codezada to more web dev tricks.