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 Build a Simple Dynamic Site with Node.js HTTP Methods and Headers Sending Content Type Headers in Node.js

Anton Emery
Anton Emery
10,149 Points

Search form not working in Build a Simple Dynamic Site with Node

I am having a problem with both my own code and the stage_4_video_1_finish code in the example files. I am running them locally on my machine. I run node app.js in the console and go to localhost:3000 I enter my username and click submit, but nothing happens and the form resets itself. If i change the url to localhost:3000/antonemery2 it pulls my profile correctly.

1 Answer

Anton Emery
Anton Emery
10,149 Points

Whoops, nevermind. I misinterpreted what was going on in the video. At this point in the lesson the form is not functioning yet. My mistake.