Ask coding questions

← Back to all posts
Image files not showing in browser when creating a HTML, CSS and JS Repl in repl.it.
JeetZawab_Ul (7)

I am creating a new folder named "img" and dragging and dropping the local image file in the folder. And when I am running it, the image is not displayed in browser.

Comments
hotnewtop
therealperson (3)

i used the comments to help but it still wouldn't work

ash15khng (721)

Can you post a repl link?
Also, you would need an <img> tag to display it.
For example:

<img src="cat.gif"/>

where you can replace cat.gif with your image file name.

Havego (0)

same problem here

arpitdhaka (0)

I'm Facing the same issue, I'm new to all these things so i can really use some help guys, my repl link is - https://cs50xcoursewebsite.arpitdhaka.repl.co/#

bikkie (0)

I have the same issue, but when i look at the website (https://bikkie.tk) it shows the image

heyitsmarcus (350)

Can you post your repl? I don't see any repl on your profile that is HTML, CSS, and JS.