var http = require('http')

http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end("Hello World!");
}).listen(3000);

console.log("Server started at localhost:3000; press Ctrl-C to terminate...");

var http = require('http')

http.createServer(function (req, res) {
    var path = req.url.replace(/\/?(?:\?.*)?$/, '').toLowerCase();
    switch(path) {
        case '':
            res.writeHead(200, {'Content-Type': 'text/plain'});
            res.end("Homepage");
            break;
        case '/about':
            res.writeHead(200, {'Content-Type': 'text/plain'});
            res.end("About");
            break;
        default:
            res.writeHead(200, {'Content-Type': 'text/plain'});
            res.end("Not Found");
            break;
    }

}).listen(3000);

console.log("Server started at localhost:3000; press Ctrl-C to terminate...");

update helloWorld