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
Find your solution to the section called “Assignment JS.Conds.0”, make a branch and do the following:
switches. Use my first suggestion
without default. Test until it works.
default at the
end. test that it works.
default up, so that it occurs
just before the case 3: clause. Now test
thoroughly, and tell me your conslusion.
Write a page with an HTML5 form to enter a name and a birthday. The name must be more than one character long, and the birthday must be a valid date.
The entered data must be caught by JavaScript and used to make a cookie with a name-value pair. The name must be the concatenation of name and birthday, and the value must be '42' as in 'nml251145=42'. Give the cookie a lifespan of 10 minutes. Ten minutes are 0.00694444 years! Test repeatedly until it works.
You may check the cookie content by means of the log.
Once the JavaScript works, close the browser, take 10, and then restart your browser to ascertain that the expiration mechanism works.