code-society-25-2

Lesson 21: JavaScript Deep Dive (Slides)

Pre-work

Please review the following resources before lecture:

Homework

Working with Express

Use the assets you developed for lesson_19 to implement a web server using Express and NodeJS. Provide your files in a uniquely named folder when you submit your PR.

In addition, add a new page that features a form which accepts input from the user (say, a contact form) and show the results of what they provided. The form must perform an HTTP POST to the web server.

Note: You may need to open a new port in the dev container to support serving traffic from your web server. Read how to do this using this article on port forwarding.