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: Week1/MAKEME.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,11 @@ In the lecture we developed some utility functions to simplify making XMLHttpReq
106
106
- When the user changes the selected repository, any existing repository information in your page should be cleared before displaying the new information.
107
107
- Make your functions small and reusable (modular)! That means create separate functions to handle certain steps.
108
108
109
+
Note:
110
+
111
+
1. Please remove all redundant, commented-out code and console.log's from your files before pushing your homework as finished. There is no need for your mentors to review this stuff.
112
+
2. Please make sure your code is well-formatted and follows the recommended naming conventions.
113
+
109
114
_GO WILD_
110
115
111
116
Again, check out the GitHub API documentation to see what kind of magic stuff you can do with it.
Copy file name to clipboardExpand all lines: Week2/MAKEME.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ Topics discussed this week:
11
11
12
12
- Read this article on scopes & closures: [explaining-javascript-scope-and-closures](https://robertnyman.com/2008/10/09/explaining-javascript-scope-and-closures/)
13
13
14
-
- If you are still not completely clear on promises, here are some additional nice resources :ring:
14
+
- If you are still not completely clear on promises, here are some additional resources :ring:
15
15
16
-
-[Googles post about Promises](https://developers.google.com/web/fundamentals/getting-started/primers/promises)
16
+
-[Google's post about Promises](https://developers.google.com/web/fundamentals/getting-started/primers/promises)
17
17
-[A nice article from David Walsh](https://davidwalsh.name/promises)
18
18
-[A real life example](https://github.com/mdn/js-examples/blob/master/promises-test/index.html)
- Complete your GitHub app code as needed to meet the requirements from the assignment of week 1.
34
+
- Complete your GitHub app code from the previous week, if needed, to meet the requirements from that week's assignment.
35
35
- Replace all asynchronous callbacks (e.g. as used with XMLHttpRequest) by ES6 promises.
36
36
- Beautify your app's styling.
37
37
38
+
Note:
39
+
40
+
1. Please remove all redundant, commented-out code and console.log's from your files before pushing your homework as finished. There is no need for your mentors to review this stuff.
41
+
2. Please make sure your code is well-formatted and follows the recommended naming conventions.
42
+
38
43
## Step 5: Read before next lecture
39
44
40
45
Go trough the reading material in the [README.md](/Week3/README.md) to prepare for your next class.
Copy file name to clipboardExpand all lines: Week3/MAKEME.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,19 +26,19 @@ _Deadline Thursday_
26
26
27
27
- Fix the issues from the last weeks and make sure you explain how you fixed the issue in a comment (or commit message)
28
28
29
-
## Step 4: Refactor GitHub app using OOP and ES6 classes
29
+
## Step 4: Refactor the GitHub app using OOP and ES6 classes
30
30
31
31
- If you need to refresh your memory on es6 classes: [es6-classes-in-depth](https://ponyfoo.com/articles/es6-classes-in-depth)
32
32
33
33
_Deadline Saturday_
34
34
35
-
The assignment is to refactor your GitHub to use OOP with ES6 classes (see skeleton code below). We will be introducing a `Repository` and `Contributor` class that will each be responsible for rendering their own data. A third `View` class will contain all remaining code.
35
+
The assignment is to refactor your GitHub app to use OOP with ES6 classes (see skeleton code below). We will be introducing a `Repository` and a`Contributor` class that will each be responsible for rendering their own data. A third `View` class will contain all remaining code.
36
36
37
37
1. You should refactor your code to use three classes, named `Repository`, `Contributor` and `View`.
38
38
2. Move your existing code that deals with rendering the repository information to the `render()` method of the `Repository` class.
39
39
3. Move your existing code that deals with rendering the information for a single contributor to the `render()` method of the `Contributor` class.
40
40
4. Move your existing code responsible for initializing your application to the `constructor` of the `View` class.
41
-
5.Your remaining code should probably go to the `fetchAndRender()` method of the `View` class.
41
+
5.The bulk of your remaining code should probably go to the `fetchAndRender()` method of the `View` class.
42
42
43
43
### Skeleton
44
44
@@ -134,6 +134,10 @@ Use this skeleton as overall design for your code in `app.js`:
134
134
}
135
135
```
136
136
137
+
Note:
138
+
139
+
1. Please remove all redundant, commented-out code and console.log's from your files before pushing your homework as finished. There is no need for your mentors to review this stuff.
140
+
2. Please make sure your code is well-formatted and follows the recommended naming conventions.
0 commit comments