Open ghost opened 7 years ago
Try updating your URL's to the correct capitalization usage.
Your directory is labeled Images/
with a capital "I", however, your URL uses a lowercase "i".
I had to move my image file around to turn it into a "child folder" so that my code could be read correctly and my images then showed up.
Thanks for the help! I changed the lowercase "i"s to capitals, and it appears to have worked
My images don't show up in the webpage, even though preview is fine.
Hyein, you are using an absolute oath to the file. How is a web page suppose to grab a file from you local C drive (“C:\Users”) ?
Instead you should use relative paths. Remember that a single dot (.
) means this directory, and two dots (..
) means the parents directory.
So assuming the image is from an index.html located in your week-05-hw
, you would need to say;
.
)/images/
twice,jpg
)So the relative url would be
src="./images/twice.jpg"
I have completed the homework assignment for the week, and pushed everything to git. All of the previews while I was working on the assignment were fine, but when I went to the actual live webpage for week 5, none of my images show up. Any advice?