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.
Can you post a repl link?
Also, you would need an
<img> tag to display it.
where you can replace
cat.gif with your image file name.