when I build the project on localhost, everything work well including the image display well. Once I upload it and publish it on the GitHub page, the header image and the second section images are crashing. I uploaded the website three times and still got the same results.
I need your help and suggestions to fix this issue, please. Thanks
Live website: [https://paulkoumedzro.github.io/myfotomat.github.io
Repository: GitHub - PaulKoumedzro/myfotomat.github.io
when I build the project on localhost, everything work well including the image display well
The forward slash at the beginning instructs the browser to resolve the path relative to your web root directory on localhost, which translates to https://paulkoumedzro.github.io/ on GitHub
However the root of this project is in fact @ https://paulkoumedzro.github.io/myfotomat.github.io/
the header image and the second section images are crashing
Comparing “broken” paths to working ones is a quick way to find the cause of such issues
I really appreciate your help. The images crashing issues were caused by the slash I put behind the image path. I resolved the problem by deleting the slashes.
here is the new live website.