How to make a picture in your github for your portofolio page?

Hi guys/girls,

How can you upload a picture in your github for your portofolio page ( just like beneath):

src=“https://raw.githubusercontent.com/freeCodeCamp/cdn/master/build/testable-projects-fcc/images/calc.png

Thanks,

Park

  1. Create a new repository.

  2. Upload the file (click the Upload files button) and when done click the file to open it.

  3. You now have to get the raw version. One option is to just append ?raw=true to the end of the URL in the address bar, press enter and copy the URL. Or you can right-click the image and select “Copy image address/location” (menu option depends on the browser) and then paste that into the address bar and copy the URL. The URL for the image should start with raw.githubusercontent.com

2 Likes