Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Build a Simple Dynamic Site with Node.js Handling Routes in Node.js Home Route

Leo Marco Corpuz
Leo Marco Corpuz
18,975 Points

hello world response.end

I removed the 'hello world' end response from my code and it still shows up in the browser. https://w.trhou.se/a5jgiidsfn

1 Answer

Neil McPartlin
Neil McPartlin
14,662 Points

Hi Leo. I ran up your code and I do see a new timestamp getting written to the browser every second, but no sign of 'Hello World' which you removed from app.js. Is it possible, you made the deletion, saved the app.js file, but forgot to stop (CTRL+C) the server then restart it (node app.js)?

Leo Marco Corpuz
Leo Marco Corpuz
18,975 Points

Hi, sorry for the late reply. I think that's what I did.

Neil McPartlin
Neil McPartlin
14,662 Points

Hi Leo. If you are confirming the problem has gone, please mark as 'best answer' so that others need not try to solve it.