git
bitbucket.org
,
gitlab.com
, or
github.com
,
git push
your local repo to the above remote repo.
node
assignments the line
node_modules/
must
be in your .gitignore
file.
<nmla@iba.dk>
with:
submission <subjectname>
'
in the subject line
In the first JavaScript lesson you saw or you will see:
hw00h.js
'use strict';
const go = function () {
let targets = document.getElementsByClassName('title');
for(let i = 0; i < targets.length; ++i) {
targets[i].innerHTML = 'Hello, World!';
}
}
window.addEventListener('load', go);
hw00h.html
<!doctype html>
<html>
<head>
<meta charset='utf-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<title class='title'></title>
<link rel='icon' type='image/svg+xml' href='./favicon.svg'/>
<script src='./js/hw00h.js'></script>
</head>
<body>
<h1 class='title'></h1>
</body>
</html>
We have created a repo for you with this code.
mkdir projects cd projects git clone https://phidip@bitbucket.org/phidip/de10.git
git remote remove origin
bitbucket.org
,
gitlab.com
, or
github.com
,
git remote add origin <your repo>
so that it points to your new repo, and not to ours.
git push
your local repo to the above
remote repo. Remember the special syntax for a first push.
Make an HTML5 page with a menu containing at least 3 items. One leading to another HTML5 page with some personal info you want to share. Another leading to a page with a CV of exams qualifying you for where you are now, and a third with a description of your leisure activities, such as sky diving, marathoning, mountain climbing or whatever you do.
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. Stage the two screen dumps,
recommit, and submit the url of the repo.