Design comparison
Solution retrospective
can someone help me? when i have preview on VSC i can see the images, but when i upload to GitHub pages cant see any image
Community feedback
- @adityas24Posted almost 3 years ago
When ever you upload your code to github or any other hosting portal take care that you have written the path according to "standard path rules". Here in your code remove the slash before images.
Correct way of writing path would be <img src="images/image-qr-code.png" alt="" class="section--img--qr">.
Marked as helpful1@skarlos134Posted almost 3 years ago@adityasingh84 Thank you very much, I have solved my problem thanks to your instructions
0 - @ohmymarioPosted almost 3 years ago
Lookin good !
Right now you have <img src="/images/image-qr-code.png" alt="" class="section--img--qr">
try adding a period to your src <img src="./images/image-qr-code.png" alt="" class="section--img--qr">
also don't forget to add something to your alt tag
Marked as helpful0@skarlos134Posted almost 3 years ago@ohmymario Thank you very much, I have solved my problem thanks to your instructions
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord