First of all I’m a total beginner.
I’m working on a new website and everything was fine when I used the preview in the editor (VS) or I opened my index.html with the browser.
Then all of a sudden I could see the html code only. The css was totally ignored. Restarting the editor didn’t help. The same happened when opening the index.html file directly with the browser.
I checked folder structure, files’ names, etc. and they are fine.
I finally spotted this thread on stack overflow: https://stackoverflow.com/questions/45001740/live-preview-not-showing-css-background-in-any-code-editor
The problem is similar! Besides reading the thread, I remembered that I started to have problems after clearing the cache of my browsers (safari and chrome).
So I tried that solution and it partially worked. Now I can see the css, but I don’t see the image I used for the background though (maybe I did something wrong here but I don’t understand what).
Here is my coding: https://codepen.io/francesca829/pen/mzpqPg
Thank you very much for any help!