Hello everyone, I’m doing the last project Build a Personal Portfolio Webpage for the (New) Responsive Web Design Certification and I want to use a local image from my PC. I should use the sintaxis below, but since I’m working on the freecodecamp editor, I don’t know how to do that, or even if it is possible.
<img src="images/picture.jpg">
The “picture.jpg” file is located in the images folder in the current folder
thanks in advance
Barbara Ines
If you use Google Photos, you can upload a photo you want to use in your portfolio.
Once uploaded, you would click on the photo to view it. Next, you would right-mouse click on the image shown and select Copy image address and paste the url as the value of the src attribute for an img element:
Thanks I tried to use google drive but I could not get the image url, so I created a netlify account, and then upload an index.html file that I created with just the image inside it. then I proceed like you tell me for the second step.
thanks for your solution, now I know I can use google photo instead.