Well done!

You have completed HTTP Server Review!

Quiz Question 1 of 8

What is the output from the following code?

var http = require("http");

http.createServer(function(request, response) {
  response.writeHead(200, {'Content-Type': 'text/plain'});

  setTimeout(function(){
    response.end('Goodbye World\n');
  }, 1000);
  
  response.write("Hello World\n");
}).listen(3000);

Choose the correct answer below:

Skip Quiz Review Video