let express = require('express');
let app = express();
app.use(express.static('public'));
I am trying to solve freecodecamp's "Basic Node and Express: Serve Static Assets" challenge but it keep says "not working. Could someone help me? Thanks.
For reference, solution is mentioned here: https://forum.freecodecamp.org/t/basic-node-and-express-serve-static-assets/556796 but it doesnt work. Anyway I'll migrate to codeacademy.
This is the path folder The main files in my directory