Im trying to learn node.js and have hit a bit of a roadblock.
My issue is that i couldn\'t seem to load an external css and js file into a html file.
You might want to look into using server frameworks like express which allow you to set a 'public' directory for automatically routing static files
var express = require('express'),app = express();
app.use(express.static(path.join(__dirname, 'public')));
The cheap overhead of such a framework would really be worth the effort of effectively 'reinventing the wheel'