Step 1: Make a webpage for a chat room by creating a new file called index.html, and adding the following:
<!DOCTYPE html>

  <title>Chat Room</title>

  <h1>Chat Room</h1>

Go to index.js, and replace response.send with:
The built-in variable __dirname is used to get the full path to the file. Stop and run the app, and you should see the webpage.
Last section Next step