write the code for an Node.js Express Web Server with HTML forms and a program to access the form field data:
This code creates a server using the Express.js framework. It listens for GET requests to the root '/' route, and sends a form for the user to fill out.
When the form is submitted, the form data is sent to the server as a POST request to the '/contact' route. The body-parser middleware is used to parse the form data, which is then logged to the console and returned to the user as a response.