My code not working in glitch

Tell us what’s happening:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Serve Static Assets

Link to the challenge:

Welcome, karthik.

We cannot help without more information. What errors are you seeing? Could you provide a link to your code?

Please use the Tell us what’s happening section to provide necessary details.

The more information you give us, the more likely we are to be able to help.

I am not able to complete the static assets challenge . Can you please look into this and help me

The instructions show a subtle difference between what you had:

app.use(express.static(__dirname + "public"));

And what is needed:

Mount the express.static() middleware for all requests with app.use() . The absolute path to the assets folder is __dirname + /public

Remember to use the built-in Glitch console to debug. It should tell you, when you have a mistake.

Let us know if you can pass the tests, after changing that.

I am not able to pass the test.

You have what you had before…

app.use(express.static(__dirname + "public"));

You are missing something…

What do the logs say?

Logs are not showing any error.