I am working through a book called “Node Beginner” which is from a small independent author. So there’s no concerted push behind it to make corrections or answer questions. I am working on an example where the books states this:
“As always, we will start our application, and visit http://localhost:8888/start.
Which loads a beautiful web page that displays the string ‘empty’.”
The code I am using does not do this but I’m wondering if anyone can verify if it works for them OR if they see a mistake with the code that is causing it to not show “empty”. There are four files for this node server: index.js, router.js, server.js, and requestHandler.js. You can find the code for each file here: https://jsfiddle.net/estevancarlos/yb3xx0s1/1/
Can anyone verify or tell me what result you get when you run this?