Tell us what’s happening:
The previous assignment passed. Below is the only new code that I added per the new assignment. What am I doing wrong here? I’ve also included the console error message.
On a side note, that advanced Node and Express section isn’t necessary for completing the projects in the QA certificate. If you get to the Information Security Certificate, you need to use socketio for one of the projects. So if that section is causing you problems, it’s probably worth skipping - that whole section is 90% just copying and pasting code anyway.
Thanks. I made the req.user.username object the 2nd argument in the res.render statement, and that worked. Thank you for pointing me in the right direction.