Sorry about my earlier suggestion. It seems the challenge has changed recently. Your code above is almost there. You will need to specify a first argument that has the relative path to the “public” files (i.e.
style.css) as they would appear on the site. If you notice in the boilerplate file
/views/index.html, the file
styles.css is referenced as:
<link rel="stylesheet" href="/public/style.css">
So, if you want the above file to show in browser with the above relative path, see if you can guess what relative path (generic and not file specific) you should add as the first argument to the following:
app.use(RELATIVE_TO_ROOT_PATH_GOES_HERE, express.static(__dirname + "/public"))