I used the code below in my terminal and the page doesn't show and load properly. Why?
const http = require('http');
const server = http.createServer((req, res) => {
console.log('url', req.url);
response.setHeader('Content-Type', 'text/html');
response.end('<h1>Hellooooooooooooooo</h1>');
});
server.listen(3000);