Pictures not loading

Hello, I have run into an issue with images. I know very well I could just get the image link and use it in a code but I want to use the name. So I used wget to add this image into my directory

and it’s as main/duck.png so when I added it into my code 2 everything seemed to work fine until I loaded the page and the image was not there, in the inspect element it just said could not load the image 3 .

Can anyone help me get this working?

Hey @StreetyYEET,

Can you specify the project name?

It’s called streety β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž β€β€β€Ž

Hey @StreetyYEET,

Just remove the main/ before the image link because both the files are in the same folder. So the src should be just duck.png.

1 Like

That did not seem to work either, it looks the same

oh wait now it worked, thanks dude!

1 Like

Hahahaha, sure. :grin: