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
In this assignment you must create two different git repos.
You will notice that the software in the second repo depends on the software in the first. This may cause some disturbance. I want you to write a short resume of this part on the work, what happened, and what you did to overcome it. When you are done, hand in both repos.
Create a Multiple Choice question. Such a question has several constituents:
The properties must be a category, an array of possible answers, the correct answer.
When organizing this you may explore arrays inside arrays aka multidimensional arrays.
Then create a quiz as an array of Multiple Choice questions. The quiz must have a name. When a quiz is completed it must offer the result to the hosting page/application.
The necessary functionality has functions to pose the questions, print them on the page, record and score the answers, and so forth.
Last you must create an HTML5 page as
a testcase for the quiz using the
above. As much as possible must
be stored in modules.
The test page must host the
quiz just by providing a
script reference to it,
and an empty area such as a
div or a section where the quiz will live.
For the test one or two questions should suffice.
Commit frequently until you are satisfied that the quiz works as planned and desired.
Commit frequently until it works.