I'm building my first website in HTML/CSS but for some reason none of my images show up when I load the HTML files in Chrome. When I hit F12 and go to the 'sources' menu, I can see that my index.html file (where the images should be loading) is creating errors saying the files can't be found (net::ERR_FILE_NOT_FOUND), even though I used Visual Studio's file picker to navigate to them instead of manually typing the addresses.
Here's a link to the file in case that helps provide more context (area in question is the box at the bottom of the page): [redacted]/
I've tried clearing out my code from the css stylesheet, verifying the image addresses but unfortunately that's all I know to try at this point in my learning.
HTML for the box where I want to put the image background:
<div class="p-box">
<h1>Hello</h1>
<h2>Goodbye</h2>
</div>
CSS for that box's class:
.p-box{
width: 800px;
height: 500px;
border: 1px solid #000000;
margin-top: 30px;
position: relative;
background-image:url('/css/images/download.jpg');
}
The goal is to get an image to load inside the 'p-box' container but nothing happens when I save and refresh the file in my browser.
This is my first site (and my first post here), so any feedback is greatly appreciated. Thanks!