using public express code example Example: express public app.use(express.static(__dirname + '/public'));