Finally getting to grips with NodeJS

After months of not trying it (and being worried about change) my god, what a difference it makes!

Only question I have is around the CSS.
It seems it points to /css/styles.css and it should really point to /public/css/styles.css
Is this normal or am I doing something wrong?

1 Like

The /css/styles.css is correct. The public folder contains all the static files for your website and can be seen as the site root. The views folder contains templates for your dynamic pages and are served under the url defined in the routes manager.

1 Like

ok so I am confused, I added the css in the content page and when I uploaded it, it did not work.
Then I changed it to /public/css/styles.css and it worked fine.

Gunnery what was the tipping point that changed your perception and the “difference” that was made? What was the series of benefits that you found that lead you to a more favorable view point NodeJS?

I’ve been leaning toward NodeJS, but it seems I’ve always ended up in deep mud and then fell back to my old habits.

2 Likes