error in path of image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

error in path of image

i have this project but i got this error: http://127.0.0.1:5500/css/Images/Header%20Background.jpg 404 (Not Found) images are in http://127.0.0.1:5500/Images/ where i edit above path? https://www.sololearn.com/compiler-playground/WFrTgjO97qFx/

14th Oct 2022, 2:25 PM
Hadi
Hadi - avatar
5 Answers
+ 1
Looks like you are trying to link an image from your local storage? Sololearn playground isn't able to access your local storage. You would need to host the image somewhere online to make it display when running the code on sololearn.
14th Oct 2022, 2:36 PM
Lisa
Lisa - avatar
0
local storage is empty
14th Oct 2022, 2:49 PM
Hadi
Hadi - avatar
0
Are you trying to make it run on sololearn or on your own computer? In the 1st path the Images are in a css folder, in the 2nd path there is no css folder?
14th Oct 2022, 2:51 PM
Lisa
Lisa - avatar
0
i run it on my computer but my images there is "Images" folder no "css" folder, in the error path is "css" error, i dont know where set this path.
14th Oct 2022, 2:59 PM
Hadi
Hadi - avatar