Help with <img />


I am having with inserting an .jpg image that is on my computer. Usually I get images from another website and it works good, but this is the first time I am trying to get the image from my computer. I currently have the image in the same folder as the rest of the app. I am working with React. The code right now is <img src="Picture2.jpg" alt="test"/> . I have tried the image with and without the import 'Picture2.jpg' from './Picture2.jpg'; I have also attempted putting the src code in { }. All I have gotten so far is the alt test text. Where am I going wrong and what should I do to fix it?

Have you tried:

import Picture2

then use braces


yes I have. both with and without the .jpg at the end