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 (2)

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.

Commentshotnewtop
ash15khng (471)

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.

heyitsmarcus (287)

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