Dasmoto project: can't make background image show up!

Hi there!

Have you been able to solve this issue? If not, you need to change the pathing.

./resources/images/pattern.jpeg would work if you were pathing from the index.html file, however, you are currently in the index.css file which is in the CSS directory. You will need to back out of the CSS directory and then move into the images directory.

../ is used to back out of the current working directory. Doing so would move you from the CSS directory into the resources directory, which will allow you to access the images directory with the image.

So, the correct pathing would be:

../images/pattern.jpeg

1 Like