Very new to coding so forgive my ignorance but I am having a problem with a background image showing up. I am using Javascript and sublime text. I added the image and the entire folder with other images id like to add to the site later on and seem to get an error where the image isn't found. Thanks for any help first image is code in sublime text second image is console and google chrome view
Your p element has no width and height since it is empty. You can try to add some text in to it or give width/height by manually. Also you have to close p tag like below .
<p style="background-image: url('new-world-03.jpg');width:200px;height:200px;">
Lorem ipsum
</p>