http = require('http')

// save off args
url = process.argv[2]

http.get(url, function(resp){
  // resp.statusCode
  resp.setEncoding('utf8')
  resp.on('data', function(data) {
    console.log(data)
  })
})

// official solution
//
// http.get(process.argv[2], function (response) {
//   response.setEncoding('utf8')
//   response.on('data', console.log)
//   response.on('error', console.error)
// })

@@ -1,12 +1,16 @@
+var 
 http = requi
@@ -38,16 +38,20 @@
 ff args%0A
+var 
 url = pr

use var to declare variables in http-client