Please what am I doing wrong, here is the link to my code

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)

solution: Glitch :・゚✧

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; M2006C3MG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36.

Challenge: Implement a Root-Level Request Logger Middleware

Link to the challenge:

You have the right code, just the wrong place.

Did you put it at the very top?

Just below the “var app = express();”:

var express = require('express');
var app = express();

app.use(function(req, res, next) {
// You know what to do here ^^

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.