sometimes because its mime type code example
Example: stylesheet not loaded because of mime-type
put your .css file in a folder called public
in your app.js file add the following code:
app.use(express.static('public'));
put your .css file in a folder called public
in your app.js file add the following code:
app.use(express.static('public'));