My main problem is that my images do not show up. I created my website using React yesterday and used my images like this.
enter image description here
I put my images in the images folder which is inside the public folder. It works when I develop first but all of the images are not showing up when I open my laptop and run my react again.
Could you guys please tell me what is happening because it happened to me twice?
This is what it looks like first:
enter image description here
This is after a day:
enter image description here
I already searched it on Google and also with AI it doesn’t work. I want to know how to solve this problem and why it is happening.
Brandon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2