Topics discussed this week:
• Async vs Sync
• Event Loop (order of execution)
• Promises
-
Read this article on scopes & closures: explaining-javascript-scope-and-closures
-
If you are still not completely clear on promises, here are some additional resources 💍
- Create at least 2 issues (bug / feature / code improvement) on another student's GitHub repository.
- Solve the issue(s) proposed by another students in your GitHub repository. More info here.
Deadline Saturday
The assignment for this week is:
- Complete your GitHub app code from the previous week, if needed, to meet the requirements from that week's assignment.
- Replace all asynchronous callbacks (e.g. as used with XMLHttpRequest) by ES6 promises.
- Beautify your app's styling.
Bonus assignments:
- Make your app responsive (using media queries)
- Make your app ARIA-compliant
Note:
- 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.
- Please make sure your code is well-formatted and follows the recommended naming conventions.
Go through the reading material in the README.md to prepare for your next class.