Https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/implement-a-root-level-request-logger-middleware

Tell us what’s happening:
Problem: Root level logger middleware should be active

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36.

Challenge: Implement a Root-Level Request Logger Middleware

Link to the challenge:
https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/implement-a-root-level-request-logger-middleware

Hello there,

For future posts, please include a link to your project, or, at the very least, the code concerning the query. Working off of a screenshot of code is difficult, and you are much less likely to get help this way.

Also, please take the opportunity to ask a question in the body of your post, specifically making use of the Tell us what’s happening section.


From what it looks like, you are console.loging just a plain string, and not the required information. I suggest you have a quick refresher of how to use Template Literals.

Hope this helps