Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dda0a47

Browse files
committed
added async/await to assignment
1 parent bf1b982 commit dda0a47

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Week3/MAKEME.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,45 @@ Topics discussed this week:
1111

1212
_Deadline Monday_
1313

14-
Give feedback on Step 4 and 5 of last weeks homework. Please provide the feedback in an issue.
14+
Give feedback on Step 3 of last weeks homework. Please provide the feedback in an issue.
1515

1616
## Step 2: Issues
1717

1818
_Deadline Monday_
1919

2020
- Solve all your Git issues. DO NO CLOSE AN ISSUE WITHOUT AN EXPLANATION OR CODE COMMIT REFERENCING THAT ISSUE.
2121

22-
2322
## Step 3: Fix issues
2423

2524
_Deadline Thursday_
2625

2726
- Fix the issues from the last weeks and make sure you explain how you fixed the issue in a comment (or commit message)
2827

29-
## Step 4: Refactor the GitHub app using OOP and ES6 classes
28+
## Step 4: async/await
29+
30+
_Deadline Wednesday_
31+
32+
Refactor your app to replace `.then()` and `.catch()` with `async`/`await` and `try...catch`
33+
34+
Read:
35+
36+
- [try...catch](../../../../fundamentals/blob/master/fundamentals/try_catch.md)
37+
- [async/await](../../../../fundamentals/blob/master/fundamentals/async_await.md)
38+
39+
## Step 5: OOP and ES6 classes
3040

3141
- If you need to refresh your memory on es6 classes: [es6-classes-in-depth](https://ponyfoo.com/articles/es6-classes-in-depth)
3242

3343
_Deadline Saturday_
3444

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.
45+
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.
46+
47+
Read:
48+
49+
- [Object Oriented Programming and ES6 Classes](../../../../fundamentals/blob/master/fundamentals/oop_classes.md)
50+
- [The `this` keyword](../../../../fundamentals/blob/master/fundamentals/this.md)
51+
52+
Instructions:
3653

3754
1. You should refactor your code to use three classes, named `Repository`, `Contributor` and `View`.
3855
2. Move your existing code that deals with rendering the repository information to the `render()` method of the `Repository` class.

0 commit comments

Comments
 (0)