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
Now assume the following JavaScript assignment:
Flip a coin 10 times. Count the heads and the tails. Finish by printing the number of heads and tails.
I have created a naive model solution to this problem. It resides at the repo:
https://phidip@bitbucket.org/phidip/coinflipping.git
mkdir testdircd testdirgit clone https://phidip@bitbucket.org/phidip/coinflipping.gitcf1.js.
bitbucket.org,
gitlab.com, or
github.com,
git remote add … so that it
points to your new repo, and not to ours.
git push your local repo to the above
remote repo.
Now create the html file for testing the above in a web setting.
Name the solution cf1.html, and the JavaScript
cf1.js.
If you have named the files properly, save them in the same repo you used for the above assignment.
Commit your work.
The other day you received several JavaScript assignments. The output
of those were a series of js files. Now make sure
they are all in the same directory.
Make a git repo in that directory. Stage the files.
Make a screen dump of the output of the git status
command.
Commit your work. Make another screen dump of the output of the
git status command.