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 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.