Background images do not load with sass

I created a simple card component using HTML, SASS. I used background images for some elements, it works fine when I open live server on vs code, but I open same index.html file without live server, the background images are not visible. I used sass .

hello and welcome to fcc forum :slight_smile:

  • sounds like your project requires a server to be active to be able to do so

happy coding :slight_smile:

1 Like

I create a express js server within the root directory it works like you mention, but I think the problem was with relative path, thank you very much for your response.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.