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: README.md
+10-22Lines changed: 10 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,30 @@
1
-
*Please note: this is the JavaScript planning/curriculum that was used at HackYourFuture Amsterdam until 10 November 2017. We now use a different planning which can be found in the mater branch.**
1
+
*Please note: this is the JavaScript planning/curriculum only for class12, we changed the topic order while they already started JavaScript, because of this reason an additional planning has been made for them*
2
2
3
3
>Please help us improve and share your feedback! If you find better tutorials or links, please share them by opening a Pull Request.
4
4
5
5
# HackYourJavaScript
6
6
7
-
<!-- **Class 10: please visit this [link](https://github.com/HackYourFuture/JavaScript/tree/master) (your specific branch "master") for the most recent information relevant to your class.** -->
8
-
9
7
Here you can find course content and homework for the JavaScript 1,2 and 3 modules
10
8
11
9
|Week|Topic|Read|Homework|Review|
12
10
|----|-----|----|--------|------|
13
11
|0.|Preparation for your first JavaScript session|[Pre-reading](https://github.com/HackYourFuture/JavaScript/tree/master/Week0) + [CLI Reading Week 1](https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-1.md)|-|
14
12
|1.|• [CLI](https://github.com/HackYourFuture/CommandLine) session with Unmesh :heart: <br>• Intro JavaScript (What is it, where can you use it for)<br>• Variables [var, let, const]<br>• Basic Data types [Strings, Numbers, Arrays, Booleans]<br>• Operators|[Reading Week 1](https://github.com/HackYourFuture/JavaScript/tree/master/Week1/README.md)|[Homework Week 1](https://github.com/HackYourFuture/JavaScript/tree/master/Week1/MAKEME.md)|[Review](https://github.com/HackYourFuture/JavaScript/blob/master/Week1/REVIEW.md)|
15
13
|2.|• [CLI](https://github.com/HackYourFuture/CommandLine) session with Unmesh :balloon: <br>• Advanced data types [Objects] <br>• Conditions <br>• Statements vs Expressions<br> • Loops (for/while)<br>• Functions <br>• Naming conventions|[Reading Week 2](https://github.com/HackYourFuture/JavaScript/tree/master/Week2/README.md)|[Homework Week 2](https://github.com/HackYourFuture/JavaScript/tree/master/Week2/MAKEME.md)|[Review](https://github.com/HackYourFuture/JavaScript/blob/master/Week2/REVIEW.md)|
|4.|• First Git Session with Unmesh :smiling_imp:<br>• JSON<br>• Code debugging using the browser<br>• Functions + JSON/Arrays<br>• Code flow (order of execution) <br>• (capturing user input) <br>• Structuring code files|[Reading Week 4](https://github.com/HackYourFuture/JavaScript/tree/master/Week4)|[JS](https://github.com/HackYourFuture/JavaScript/tree/master/Week4/MAKEME.md)|Review|
18
-
|5.|• Second Git Session :see_no_evil:<br> • Events<br>• Callbacks <br>• XHTTP Requests <br>• API calls|[Reading Week 5](https://github.com/HackYourFuture/JavaScript/tree/master/Week5)|[Homework Week 5](https://github.com/HackYourFuture/JavaScript/tree/master/Week5/MAKEME.md)|[Review](https://github.com/HackYourFuture/JavaScript/blob/master/Week5/REVIEW.MD)|
19
-
|6.|• Async VS Sync<br>• Polling<br>• Structure for a basic SPA<br> TEST :boom:|[Reading Week 6](https://github.com/HackYourFuture/JavaScript/tree/master/Week6)|[Homework Week 6](https://github.com/HackYourFuture/JavaScript/tree/master/Week6/MAKEME.md)|Review|
|7.|- (Object Oriented Programming)<br>- Code flow (order of execution)<br>
20
+
- Async VS Sync|[Reading Week 7](https://github.com/HackYourFuture/JavaScript/tree/master/Week7)|[Homework Week 7](https://github.com/HackYourFuture/JavaScript/tree/master/Week7/MAKEME.md)|[Review](https://github.com/HackYourFuture/JavaScript/blob/master/Week7/REVIEW.md)|
21
+
|8.|- Structure for a basic SPA<br>- XHTTP Requests <br>- API calls|[Reading Week 8](https://github.com/HackYourFuture/JavaScript/tree/master/Week8/README.md)|[Homework Week 8](https://github.com/HackYourFuture/JavaScript/tree/master/Week8/MAKEME.md)|Review|
22
+
|9.|- (re)writing data structures (in JSON)<br>- Promises|[Reading Week 9](https://github.com/HackYourFuture/JavaScript/blob/master/Week9/README.md)|[Homework Week 9](https://github.com/HackYourFuture/JavaScript/blob/master/Week9/MAKEME.md)|[Review](https://github.com/HackYourFuture/JavaScript/blob/master/Week9/REVIEW.md)|
24
23
25
24
__Kind note:__
26
25
27
26
We expect you to __always__ come prepared to the class on Sunday.
28
27
29
-
## Module goals:
30
-
31
-
### Week 1-3:
32
-
A basic program with multiple functions (reacting to user input)
33
-
34
-
### Week 4-6:
35
-
A tool capable of loading a JSON file and representing it in the DOM
36
-
37
-
### Week 7-9:
38
-
A web app with external data source using at least one API 《〠_〠》
39
-
40
28
### Overall
41
29
A good understanding of all the above mentioned topics. Want to check your Knowledge? Go through the [JavaScript Fundamentals README](https://github.com/HackYourFuture/JavaScript/tree/master/fundamentals) and research/ ask for help (Slack!) with the concepts that are not entirely clear.
Copy file name to clipboardExpand all lines: Week3/MAKEME.md
+18-19Lines changed: 18 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week3/README.md) you find the readings you have to complete before the fourth lecture.
4
4
5
-
Go here to see the [Git Homework](https://github.com/HackYourFuture/Git/blob/master/Lecture-1.md)
6
5
7
6
## Step 0 review:
8
7
- Go through the review of [the first week](https://github.com/HackYourFuture/JavaScript/blob/master/Week1/REVIEW.md) (Work in progress, update this week :wrench:)
@@ -23,34 +22,34 @@ Your fellow students have provided you with feedback in Trello. Your teachers ha
23
22
24
23
_Deadline Monday_
25
24
26
-
Your Github should contain two repositories called hyf-javascript1 and hyf-commandline. Inside the JavaScript repository you should have three folders, called week1, week2, and week3 (or something similar). Inside these folders you should have the different assignments (a file per exercises). Ty and find proper names for the exercises that reflect somehow what is going on in the code. Avoid using spaces in your file names, this makes it harder to "run" you files. Also make sure that all your JavaScript files have a `.js` extension.
25
+
Your Github should contain two repositories called hyf-javascript1 and hyf-commandline. Inside the JavaScript repository you should have three folders, called week1, week2, and week3 (or something similar). Inside these folders you should have the different assignments (a file per exercises). Ty and find proper names for the exercises that reflect somehow what is going on in the code. Avoid using spaces in your file names, this makes it harder to "run" you files. Also make sure that all your JavaScript files have a `.js` extension.
27
26
28
27
## Step 3: String and Array challenges
29
28
30
29
_Deadline Wednesday_
31
30
32
-
1. Strings!
33
-
1.1 Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`
34
-
1.2 Add the string to your file and console.log it.
35
-
1.4 Console.log the length of `myString`.
36
-
1.5 The comma's make that the sentence is quite hard to read. Find a way to remove the comma's from the sting and replace them with a spaces
37
-
1.6 Console.log `myString` to see if you succeeded.
31
+
1. Strings!
32
+
1. Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`
33
+
2. Add the string to your file and console.log it.
34
+
3. Console.log the length of `myString`.
35
+
4. The comma's make that the sentence is quite hard to read. Find a way to remove the comma's from the sting and replace them with a spaces
36
+
5. Console.log `myString` to see if you succeeded.
38
37
39
-
2. Arrays!
38
+
2. Arrays!
40
39
consider the following array:
41
40
```js
42
41
let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
43
42
```
44
-
2.6 Add a statement that adds Mauro's favorite animal (turtle) to the existing array
45
-
2.7 Log your new array!
46
-
2.8 Now add Jim's favorite animal to the array, its a meerkat, but make sure it will be placed after 'blowfish' and before 'capricorn'.
47
-
2.9 Write a console.log statement that explains in words _you think_ the new value of the array is.
48
-
2.10 Log your new new array!
49
-
2.11 Log the length of the array, add a message: "The array has a length of: "(here you should show the length of the array)
50
-
2.12 Jason does not like giraffes, delete this animal from the array
51
-
2.13 Again log your new array.
52
-
2.14 Now if unlike Jim, you don't like meerkats and you want to delete it from the array, but you don't know the position or the `index` of the item in the array, how can you find it?
53
-
2.15 Log the index of meerkat to the console. Add a message so it says: "The item you are looking for is at index: " (here you should show the index of the item)
43
+
1. Add a statement that adds Mauro's favorite animal (turtle) to the existing array
44
+
2. Log your new array!
45
+
3. Now add Jim's favorite animal to the array, its a meerkat, but make sure it will be placed after 'blowfish' and before 'capricorn'.
46
+
4. Write a console.log statement that explains in words _you think_ the new value of the array is.
47
+
5. Log your new new array!
48
+
6. Log the length of the array, add a message: "The array has a length of: "(here you should show the length of the array)
49
+
7. Jason does not like giraffes, delete this animal from the array
50
+
8. Again log your new array.
51
+
9. Now if unlike Jim, you don't like meerkats and you want to delete it from the array, but you don't know the position or the `index` of the item in the array, how can you find it?
52
+
10. Log the index of meerkat to the console. Add a message so it says: "The item you are looking for is at index: " (here you should show the index of the item)
54
53
55
54
## Step 4: Custom DOM manipulation challenge :mortar_board:
- In you next lecture **Unmesh** will give you your first Git session, please look through the [GIT](https://github.com/HackYourFuture/Gitrepository) and read the learning goals.
Copy file name to clipboardExpand all lines: Week4/MAKEME.md
+21-8Lines changed: 21 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,30 @@
5
5
## Step 0:
6
6
Give yourself (or your neighbour) a little tap on the shoulder, you've made it to JS2! :muscle:
7
7
8
+
#### GIT
9
+
Go here to see the [Git Homework](https://github.com/HackYourFuture/Git/blob/master/Lecture-1.md)
10
+
11
+
### Step 4: Git branching homework
12
+
13
+
1) Use the unmeshvrije/MyFirst repository (the one you cloned) for this homework.
14
+
15
+
2) Make a branch.
16
+
17
+
3) Name it YOUR-GITHUB-NAME-dev
18
+
19
+
4) Create a file commands.txt in your branch.
20
+
21
+
5) Add bash commands that you have learnt with descriptions
22
+
23
+
6) Then git add, commit and push them in a remote branch.
24
+
25
+
**Do not merge the changes to master branch.
26
+
27
+
** Do not make any changes to master branch.
28
+
8
29
## Step 1: Some Challenges
9
30
Let's practice working with Objects and Arrays. Go to FreeCodeCamp and complete all challenges under "Object Oriented and Functional Programming" and the _first four challenges_ under "Basic Algorithm Scripting", up until 'Find the longest word in a string.'
10
31
11
-
## Step 2: Custom challenge
12
-
1. Go to https://api.github.com/orgs/HackYourFuture/repos, you will see a list of the repositories our HYF organization has (yes it's a lot of JSON).
13
-
2. You can copy the JSON and put it in a string at the top of your `.js` file. Print the name of the 3rd repository in the array to the console.
14
-
3. Make a `<ul>` with a `<li>` for each repository name (just like you did with the books in the previous assignment).
15
-
4. It should only display the modules that are actually being used in the curriculum at the moment, you of course know which those are, but if you need a reminder you can find them in our [curriculum overview](https://github.com/HackYourFuture/curriculum).
16
-
5. Use CSS to divide the page in two columns. The left column will have a list of the names for repository. The right column should have the following information about each repository: the number of `stargazers`, the number of `watchers`, the number of `forks`, the `language` of the repository.
17
-
6. place the `avatar_url` (logo) of our organization somewhere on a nice place in your page.
18
-
19
32
## Step 3: Feedback
20
33
21
34
Give one of you fellow students in Github feedback about their code of step two, create an issue in their repo, telling them what they did great and what they can improve.
0 commit comments