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
{{ message }}
This repository was archived by the owner on May 14, 2024. It is now read-only.
@@ -19,3 +19,5 @@ We expect you to __always__ come prepared to the class on Sunday.
19
19
A good understanding of all the above mentioned topics. Want to check your Knowledge? Go through the [JavaScript Fundamentals README](../../../fundamentals/blob/master/README.md) and research/ ask for help (Slack!) with the concepts that are not entirely clear.
20
20
21
21
*The HackYourFuture curriculum is subject to CC BY copyright. This means you can freely use our materials, but just make sure to give us credit for it :)*
22
+
23
+
<arel="license"href="http://creativecommons.org/licenses/by/4.0/"><imgalt="Creative Commons License"style="border-width:0"src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <arel="license"href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
- Create at least 2 issues (bug / feature / code improvement) on another student's GitHub repository.
26
-
- Solve the issue(s) proposed by another students in your GitHub repository. More info [here](https://hackyourfuture.slack.com/files/michahell/F31BX1XT6/Merging_a_local_branch_into_master).
25
+
- Fix Requested Changes (if any) on the Pull Request.
27
26
28
-
## Step 3: Promises
27
+
## Step 3: Convert callbacks to promises
29
28
30
-
_Deadline Saturday_
29
+
**_Deadline Thursday_**
31
30
32
-
The assignment for this week is:
31
+
### 3.1 Preparation
32
+
33
+
The homework for week 2 will build on the work you did in week 1. You will create a new branch based on the `week1` branch.
34
+
35
+
1. Make sure that you committed all changes in the week 1 version of your homework.
36
+
2. Create a new `week2` branch:
37
+
38
+
```
39
+
git checkout -b week2
40
+
```
41
+
42
+
### 3.2 Assignment
43
+
44
+
You will continue to work on the files `index.js` and (possibly) `style.css`.
33
45
34
46
- Complete your GitHub app code from the previous week, if needed, to meet the requirements from that week's assignment.
35
47
- Replace all asynchronous callbacks (e.g. as used with XMLHttpRequest) by ES6 promises.
36
48
- Beautify your app's styling.
49
+
- If not yet completed in week 1, make your app responsive (use CSS media queries and [Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/)).
50
+
51
+
### 3.3 Handing in your homework
52
+
53
+
- Have you removed all commented out code (should never be present in a PR)?
54
+
- Have you used `const` and `let` and avoided `var`?
55
+
- Do the variable, function and argument names you created follow the [Naming Conventions](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md)?
56
+
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md))?
57
+
- Have you resolved all issues flagged by ESLint and the spell checker (no wavy red and green underlines in VSCode)?
58
+
59
+
If the answer is 'yes' to all preceding questions you are ready to follow these instructions:
0 commit comments