So my code looks like this but I just cannot figure out where I went wrong.
Dasmoto's Arts & Crafts
The corresponding CSS part looks like this:
I would really appreciate some insight on this!
Thanks in advance!
Somehow my message got cut in half, so here is the html part:
<h1>Dasmoto's Arts & Crafts</h1>
Just to be sure try to verify again that pattern.jpeg is in Images folder and that folder is in the resources folder if that is the case then it might be because you used these character in the url
‘’ instead of quotation mark
"" or apostrophe
This is what VS Code shows when I hover my cursor on it and auto completion doesn’t function, but the same folder path inside this
"" or this
'' and the background image appears
Hope that helps.
Hi @nab-sa! Thanks for answering so swiftly, I have tried substituting the characters with " yet I get the same problem, the text is there yet there is only a white background. I have tried to change the directory but nothing has helped so far.
Are you coding on VS Code ? If so, can you share a screenshot of the file explorer with all the files that are inside folder appearing ? (it’ll appear by doing Ctrl + Shift + E )
here you go! I really hope this is solvable, I’ve lost quite a few hairs today trying to fix this…
I found the solution! It was indeed a pathing error, I was missing /…/… at the beginning!
That’s great !
Next time try putting all the images inside one folder and give each folder a specific name it will make things easier for you if you have a problem with folder path again.
Thanks for the heads-up, I will do so in the future!