So I tried to add a background image in the header and It's working fine when I open the HTML file from the editor as a live server, but when I open the file normally from the browser (without the live server in the VScode) the image not shown up.
.header{
min-height: 100vh;
background-image: url("/img/hero.jpg");
background-size: cover;
padding: 0 20px;
}
also, this error is shown to me(Failed to load resource: net::ERR_FILE_NOT_FOUND) but the image is already in the same direction