Super simple question, but this is not working for me. I have googled it, but for some reason, I am not sure. I am trying to render my CSS styling in my index.ejs file (essentially my index.html)
My stylesheet is located in Base Directory > public > css > stylesheet.css
and my index.ejs file is located in Base Directory > views > index.ejs
This is currently how I am trying to pull in my stylesheet in my index.ejs:
<link rel="stylesheet" type="text/css" href= "/public/css/stylesheet.css" />
Is there anything wrong with this approach?
Edit:
Using href= "../public/css/stylesheet.css"
and CMD+click I am able to go to the stylesheet, so the syntax above must be correct... but it is not rendering
Note: I am also using express