You must hand in by using git
bitbucket.org,
gitlab.com, or
github.com,
git push your local repo to the above remote repo.
node_modules/
.gitignore file.
Send a mail to <nmla@iba.dk> with:
handin <subjectname>'
in the subject line of your mail
Today you have seen servers presenting HTML5 pages to
users. Now with your own version of the server from
Example 17.13 make your server capable
of serving a about.html with a
bit of css and perhaps an image.
Today you have seen servers presenting HTML5 pages to
users. Now with your own version of the server from
Example 17.13 make your server capable
of serving a contact.html page with a
url of /contact and the method GET.
The contact page
must have an HTML5 form with a topic, some content, a name, and
an email address. The form must be submitting with
method="post" action="/contact".
The contact form that was requested from sserver by the
url /contact with the method GET
will send its filled in form to the same url, /contact
but with the method POST.
Try to find a way to differentiate between what is done
when the url is the same but the methods are different.
This means in other words that the combination
POST, /contact
must be treated differently from the combination
GET, /contact
In this case the posted data must be handled so that the user
will receive a message receipt quoting the entered data.
Write and test that handler and the receipt.