Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics Deeper into Routing with Express The Request Object

Akhil Nair
Akhil Nair
4,150 Points

I did console.dir(req) on my machine, but the output for req object doesn't show up in the browser console.

The object gets logged in the command prompt but not in the browser window.

GREGORY ASSASIE
GREGORY ASSASIE
3,898 Points

if this is a node program you should notice that there is no window object embedded in nodejs like there is in the browser. In node, it is called global or something like that

This confused me as well. I was looking in the console as I think that is what he said. It is actually in the terminal that you see in the following screen in the video.

1 Answer

Hello there fellow learner, I think the problem might be in your hello.pug file. check if the form is indented correctly. I faced the same problem but it turns out my form was not correctly indented.