I am struggling to load a CSS file in the header of my Handlebars (HSB) template for home. My backend is built using Node.js with Express. I suspect that I may have set the path incorrectly, but I'm unable to pinpoint the exact issue.
Could someone please point out what I might be doing wrong?
Here is my folder structure:
public
-> home.css
-> login.css
-> signup.css
src
-> index.js
templates
-> home.hbs
-> login.hbs
-> signup.hbs
-> user.hbs
index.js:
...home.hbs file:
...I suspect that my path to the static folder "public" is incorrect, but I can't figure out why?