diff --git a/Week1/MAKEME.md b/Week1/MAKEME.md index 0dc41ef89..eaa5569ec 100644 --- a/Week1/MAKEME.md +++ b/Week1/MAKEME.md @@ -1,4 +1,4 @@ -# Homework Week 7 +# Homework Week 1 ``` Topics discussed this week: @@ -10,7 +10,7 @@ Topics discussed this week: • Code flow (order of execution) ``` ->[Here](/Week7/README.md) you find the readings you have to complete before the eighth lecture. +>[Here](/Week2/README.md) you find the readings you have to complete before the eighth lecture. ## Step 1: Give feedback @@ -134,7 +134,7 @@ Fun extra step: If you get bored, template them and make a page by rendering the _Deadline Sunday morning_ -Go trough the reading material in the [README.md](/Week7/README.md) to prepare for your next class +Go trough the reading material in the [README.md](/Week2/README.md) to prepare for your next class ## _BONUS_ : Code Kata Race diff --git a/Week1/README.md b/Week1/README.md index b9d653bd6..c9ef5f88d 100644 --- a/Week1/README.md +++ b/Week1/README.md @@ -1,16 +1,28 @@ -# Reading material for the eight lecture: +# Reading material for the first lecture: ``` -In week eight we will discuss the following topics: -• Structure for a basic SPA -• XMLHttpRequests -• API calls +In week one we will discuss the following topics: +• (Object Oriented Programming) + • this + • call + • apply + • bind +• Promises ``` ### Here are resources that we like you to read as a preparation for the coming lecture: -#### APIs -- Read about APIS: https://www.programmableweb.com/api-university/what-are-apis-and-how-do-they-work +### `call` `apply`, `bind` +- [Function.prototype.call()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call) +- [Function.prototype.apply()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply) +- [Function.prototype.bind()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) -#### XMLHttpRequests -- XMLHttpRequests: https://www.kirupa.com/html5/making_http_requests_js.htm +#### Promises +Some nice resources about promises :ring: +- [Googles post about Promises](https://developers.google.com/web/fundamentals/getting-started/primers/promises) +- [A nice article from David Walsh](https://davidwalsh.name/promises) +- [A real life example](https://github.com/mdn/js-examples/blob/master/promises-test/index.html) +- [stackoverflow](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript) +- [promises](https://www.youtube.com/watch?v=WBupia9oidU) + +_Please go through the material and come to class prepared!_ \ No newline at end of file diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index 7698dc9f9..188a99dcf 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -1,4 +1,4 @@ -# Homework Week 8 +# Homework Week 2 ``` Topics discussed this week: @@ -8,7 +8,7 @@ Topics discussed this week: ``` ->[Here](/Week8/README.md) you find the readings you have to complete before the ninth lecture. +>[Here](/Week3/README.md) you find the readings you have to complete before the ninth lecture. ## Step 1: Feedback @@ -95,7 +95,7 @@ _BONUS_ : Code Kata Race _Deadline Sunday morning_ -Go trough the reading material in the [README.md](/Week8/README.md) to prepare for your next class +Go trough the reading material in the [README.md](/Week3/README.md) to prepare for your next class >Upload your homework in your "hyf-javascript3" Github repository. Make sure to create a new folder "week2" first. Upload your homework files inside the week2 folder and write a description for this “commit”. diff --git a/Week2/README.md b/Week2/README.md index 86809dc82..dcb7879e3 100644 --- a/Week2/README.md +++ b/Week2/README.md @@ -1,20 +1,16 @@ -# Reading material for the ninth lecture: +# Reading material for the second lecture: ``` -In week nine we will discuss the following topics: -• (re)writing data structures (in JSON) -• Async VS Sync -• Code flow (order of execution) +In week two we will discuss the following topics: +• Structure for a basic SPA +• XMLHttpRequests +• API calls ``` ### Here are resources that we like you to read as a preparation for the coming lecture: -#### Async VS Sync -- Read about Asynchronous vs. Synchronous programming: http://www.hongkiat.com/blog/synchronous-asynchronous-javascript/ - -#### Closures and async code -- [Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript) - -_Please go through the material and come to class prepared!_ - +#### APIs +- Read about APIS: https://www.programmableweb.com/api-university/what-are-apis-and-how-do-they-work +#### XMLHttpRequests +- XMLHttpRequests: https://www.kirupa.com/html5/making_http_requests_js.htm diff --git a/Week3/MAKEME.md b/Week3/MAKEME.md index 7f8e1e2e8..6ef9997b9 100644 --- a/Week3/MAKEME.md +++ b/Week3/MAKEME.md @@ -1,4 +1,4 @@ -# Homework Week 9 +# Homework Week 3 ``` Topics discussed this week: @@ -64,6 +64,6 @@ writeDataToFile(data); _Deadline Sunday morning_ -Go trough the reading material in the [README.md](/Week9/README.md) to prepare for your next class +Go trough the reading material in the [README.md](https://github.com/HackYourFuture/Node.js) to prepare for your next class > To hand in your homework, make a pull request to the original repository you forked from. Remember, our master branches are protected, you cannot push to a directly cloned repository you first have to make a fork to your own Github. diff --git a/Week3/README.md b/Week3/README.md index ce72cc9e9..067df4e0e 100644 --- a/Week3/README.md +++ b/Week3/README.md @@ -1,18 +1,36 @@ -# Reading material for your first Node lecture: +# Reading material for the third lecture: ``` -Next week you will start with Node +In week three we will discuss the following topics: +• (re)writing data structures (in JSON) +• Async VS Sync +• Code flow (order of execution) ``` -### Refresher -:star: Timir wrote a really nice javaScript REVIEW that explains which concepts are most important to know in JavaScript when you continue your coding journey to Node, this is a __MUST__ read: [Timir's JavaScript Review](./../../../../fundamentals/blob/master/fundamentals/javascript_review.md) :star: +### Here are resources that we like you to read as a preparation for the coming lecture: -- https://forum.freecodecamp.com/t/javascript-callback-functions/14658/2 -http://www.learn-js.org/en/Callbacks +#### Async VS Sync +- Read about Asynchronous vs. Synchronous programming: http://www.hongkiat.com/blog/synchronous-asynchronous-javascript/ -## Check out how to prepare for your first Node lecture here: +#### Closures and async code +- [Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript) -- https://github.com/HackYourFuture/Node.js/blob/master/week0/README.md +_Please go through the material and come to class prepared!_# Reading material for the ninth lecture: + +``` +In week nine we will discuss the following topics: +• (re)writing data structures (in JSON) +• Async VS Sync +• Code flow (order of execution) +``` + +### Here are resources that we like you to read as a preparation for the coming lecture: + +#### Async VS Sync +- Read about Asynchronous vs. Synchronous programming: http://www.hongkiat.com/blog/synchronous-asynchronous-javascript/ + +#### Closures and async code +- [Why closures are helpful with async code](http://stackoverflow.com/questions/13343340/calling-an-asynchronous-function-within-a-for-loop-in-javascript) _Please go through the material and come to class prepared!_