You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week6/MAKEME.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,25 @@ Read through the JavaScript Fundamentals [README](https://github.com/HackYourFut
6
6
7
7
ASK A QUESTION ON SLACK!!!!
8
8
9
-
## FROM CLASS
10
-
Create a repo that makes this code work
9
+
## Homework from class
10
+
Create a repo that makes this code work, implies an html file and a js file.
11
11
```
12
12
fetchReposFromOrganization('hackyourfuture')
13
13
.then(renderListOfRepositories)
14
14
.then(fetchContributors)
15
15
.then(renderContributors);
16
16
```
17
+
18
+
Make sure you authenticate the request with a **token**, [Create a new token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/).
19
+
You should be able to achieve with somenthing like:
*We're assuming that you know that **TOKEN is a precious piece of data**.
26
+
You've to make sure that you **never publish your TOKEN** openly!*
27
+
28
+
*Tip:*
29
+
A way of solving, could be, creating an input where I to fill the personal token. Maybe use [Local Storage](https://developer.mozilla.org/en/docs/Web/API/Window/localStorage) so when we come back is already set.
30
+
You can find also start to look at stuff like: [How to get value from input](http://stackoverflow.com/questions/11563638/javascript-how-to-get-value-of-text-input-field).. etc...
0 commit comments