Skip to content

Commit c71f0f4

Browse files
committed
revised githubNote.md
1 parent 91d6591 commit c71f0f4

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

githubNotes.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
4. LOCAL: `git clone <link to repository>`
77
5. LOCAL: create new branch: `git checkout -b <local-branch-name>`
88
6. LOCAL: edit/create/delete the file(s), etc
9-
7. LOCAL: add the changes: git add .
10-
8. LOCAL: `git push origin <local-branch-name>`
11-
9. REMOTE: go to github, to the repository, and then to your branch.
9+
7. LOCAL: add the changes: `git add .`
10+
8. LOCAL: `git commit -m " <message here>"`
11+
9. LOCAL: `git push origin <local-branch-name>`
12+
10. REMOTE: go to github, to the repository, and then to your branch.
1213
on your branch, click the green button that says "Compare and pull request"
13-
10. REMOTE: when someone approves the changes, they will merge it to the master.
14+
11. REMOTE: when someone approves the changes, they will merge it to the master.

githubNotes.pdf

15.1 KB
Binary file not shown.

weekTwo/dayTwo/checkTime.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
function keepTime() {
2+
let today = new Date();
3+
let hour = today.getHours();
4+
let minutes = today.getMinutes();
5+
let seconds = today.getSeconds();
6+
checkMinutes = checkTime(minutes);
7+
checkSeconds = checkTime(seconds);
8+
document.getElementById('time').innerHTML = hour + ":" + checkMinutes + ":" + checkSeconds;
9+
let timeRun = setTimeout( keepTime, 500);
10+
}
11+
function checkTime(i) {
12+
if (i < 10) {
13+
i = "0" + i
14+
};
15+
return i;
16+
}
17+
checkTime();

weekTwo/dayTwo/time.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<time #id="time"></time>

0 commit comments

Comments
 (0)