How do you put CSS in Node.js?
DTSMicah

I was trying to learn Node.js. However, I cannot get any CSS to work in separate HTML files, with <link>, and can't get JavaScript in it either. Any help, please?

You are viewing a single comment. View All
SixBeeps

@DTSMicah Like this is a line from my Node template that I use: app.use('/static', express.static(__dirname + '/static'));. I just changed mine to fit yours.