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: Week1/MAKEME.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,6 @@
2
2
3
3
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week1/README.md) you find the readings you have to complete before the second lecture.
4
4
5
-
## How to hand in Homework:
6
-
>steps:
7
-
- Create a github account
8
-
- Create a new repository (name it something like hyf-js) make sure you select the option: initialize with readme
9
-
- Upload the file you created on your computer, write a description for this “commit”
10
-
- Open the file in your readme to check if this all worked
11
-
- Post the link here if it worked
12
-
13
5
We covered a bit of command line usage in the first class and got a program running which is great. If you need a refresher for the command line please have a look here: https://github.com/HackYourFuture/CommandLine
14
6
15
7
## Before you start with the homework:
@@ -75,7 +67,21 @@ For example:
75
67
76
68
On freeCodeCamp.com please do the [Basic JavaScript](https://www.freecodecamp.com/challenges/learn-how-free-code-camp-works) exercises up and until the __"Shopping List"__ exercise (there are some topics we did not cover but you can do it).
77
69
78
-
> Hint, if you solve the FreeCodeCamp challenges and they are new concepts to you and you would like to take a look at them later on in the program, Copy your answers from FCC in a .js file and upload them to Github for future reference. In this way you build your own little documentation, if you look back at them first try to understand what it does before you run them.
70
+
### How to hand in Homework:
71
+
>steps:
72
+
- Create a Github account
73
+
- Create a new repository (name it something like hyf-javascript1) make sure you select the option: initialize with README
74
+
- inside this repository create a folder "week1"
75
+
- Upload the files you created on your computer inside the week1 folder, write a description for this “commit”
76
+
- Open the file in your README to check if this all worked
77
+
78
+
>Create a new repository "hyf-javascript1". Also create a new folder "week1" inside this repository.
79
+
Upload your homework files inside the week1 folder and write a description for this “commit”.
80
+
Your hyf-javascript1/week1 should now contain all your homework files.
81
+
Place the link to your repository folder in Trello.
82
+
83
+
### Hint
84
+
If you solve the FreeCodeCamp challenges and they are new concepts to you and you would like to take a look at them later on in the program, Copy your answers from FCC in a .js file and upload them to Github in a repository for future reference. In this way you build your own little documentation, if you look back at them first try to understand what it does before you run them.
79
85
80
86
:star: Additional resources and review: [here](https://github.com/HackYourFuture/JavaScript/tree/master/Week1/REVIEW.md) (work in progress):star:
Copy file name to clipboardExpand all lines: Week2/MAKEME.md
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week2/README.md) you find the readings you have to complete before the third lecture.
4
4
5
-
###Step 1: Recap/Read
5
+
## Step 1: Recap/Read
6
6
7
7
- Have a look at [The Secret Life of JavaScript Primitives](https://javascriptweblog.wordpress.com/2010/09/27/the-secret-life-of-javascript-primitives/)
8
8
- Go through the review of [last week](https://github.com/HackYourFuture/JavaScript/blob/master/Week1/REVIEW.md) (Work in progress, update this week :wrench:)
9
9
- Go through the review of [this week](https://github.com/HackYourFuture/JavaScript/blob/master/Week2/REVIEW.md) (work in progress, update this week :nut_and_bolt:)
10
10
11
-
###Step 2: Watch
11
+
## Step 2: Watch
12
12
13
13
1. If you haven't done already, watch: [What is programming](https://www.khanacademy.org/computing/computer-programming/programming/intro-to-programming/v/programming-intro) Just watch the 2 min video, you do not have to do the entire JavaScript course (It could be useful later on though).
14
14
2. Please watch the following parts of the course, [Programming Foundations Fundamentals](https://www.lynda.com/Programming-Foundations-tutorials/Welcome/83603/90426-4.html) on Lynda.com (if you don't have access to Lynda yet ask Gijs):
@@ -19,7 +19,7 @@
19
19
<br>8. Collections
20
20
<br>11. When Things Go Wrong
21
21
22
-
###Step 3: JavaScript
22
+
## Step 3: JavaScript
23
23
> For all the following exercises create a new .js file. Try to find a proper name for each file or make a small comment about what it does inside for future reference
24
24
25
25
1. Create a function that takes 3 arguments and returns the sum of the three arguments.
@@ -132,7 +132,7 @@ typeof typeof bar;
132
132
133
133
> ‘Coerce' means to try to change - so coercing `var x = '6'` to number means trying to change the type to number temporarily.
Copy file name to clipboardExpand all lines: Week3/MAKEME.md
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,28 +2,28 @@
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
-
###Step 0 review:
5
+
## Step 0 review:
6
6
- 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:)
7
7
- Go through the review of [the second week](https://github.com/HackYourFuture/JavaScript/blob/master/Week2/REVIEW.md) (work in progress, update this week :nut_and_bolt:)
8
8
- Daan will update the review of this week soon, keep an eye on that!
9
9
10
10
11
-
###Step 1: Implement feedback
11
+
## Step 1: Implement feedback
12
12
13
13
Your fellow students have provided you with feedback in Trello. Your teachers have provided you with feedback in issues in Github.
14
14
15
15
- Implement both feedback from Trello and Github.
16
16
- Check on one of your fellow students code and issues and see if her or she implemented their feedback correctly. If there are some things that can be improved make an issue suggesting further improvements. If you think that the feedback has been implemented correctly create a issue saying something like: "nice work you can clear your issues".
17
17
18
-
###Step 2: Reorganize your Github
18
+
## Step 2: Reorganize your Github
19
19
20
-
Your Github should contain two repositories called JavaScript1 and 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.
20
+
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.
21
21
22
-
###Step 3: Custom DOM manipulation challenge :mortar_board:
22
+
## Step 3: Custom DOM manipulation challenge :mortar_board:
23
23
24
-
1. Open a new js file and start by declaring in array with in there 10 strings. These strings should be of book title's you have read (or made up) and be lowercase without spaces or special characters so that you can use these later as Id's. (Example: Harry Potter's - The Chamber of Secrets -> `harry_potter_chamber_secrets`).
24
+
1. Open a new js file and start by declaring an array that contains 10 strings. These strings should be of book titles you have read (or made up) and be lowercase without spaces or special characters so that you can use these later as Id's. (Example: Harry Potter's - The Chamber of Secrets -> `harry_potter_chamber_secrets`).
25
25
26
-
2. Create a basic html file called inxed.html and use it to load the js file, confirm the console.log show the array. (This is for debugging and making sure everything is in order. Delete it later when you're done :))
26
+
2. Create a basic html file called index.html and use it to load the js file, confirm the console.log show the array. (This is for debugging and making sure everything is in order. Delete it later when you're done :))
27
27
28
28
3. Make a function (or functions) that generate a `ul` with `li` elements for each book ID in the array using a for loop.
29
29
@@ -35,7 +35,12 @@ Your Github should contain two repositories called JavaScript1 and CommandLine .
35
35
36
36
7. Download book covers for each book, construct a new Object which has as keys the bookId's again, and as value the path to the image source (e.g. `{"harry_potter_blabla": "./img/harry_potter_blabla.jpg", ...}`). Now loop over these entries (_hint: `Object.keys(objectName)` gives you an array containing the keys_). Then write a function which places an image at the corresponding `li` element. Remember that Objects are not ordered, so you cannot guarantee that the first key is the first `li` element. (_Hint: you could give each `li` item an `id` tag by modifying the function you made before_)
37
37
38
-
### Step 4: **FreeCodeCamp challenges:**
38
+
>Upload your homework in your "hyf-javascript1" Github repository. Make sure to create a new folder "week3" first.
39
+
Upload your homework files inside the week3 folder and write a description for this “commit”.
40
+
Your hyf-javascript1/week3 should now contain an index.html, main.css and a script.js file (and the images folder)
41
+
Place the link to your repository folder in Trello.
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week4/README.md) you find the readings you have to complete before the fourth lecture.
In the HYF Movies Hands-On, we created the function `sortByImdbRating(movies)` to sort the list of movies by IMDB rating. Replace this function by a generalised version that takes the name of the property (`propName`) to sort on and a number `order` (allowed values 1 or -1, default value = 1) to indicate respectively ascending or descending sort order:
14
13
15
-
```js
14
+
```
16
15
function sortMovies(movies, propName, order)
17
16
```
18
17
@@ -32,3 +31,8 @@ Notes:
32
31
1. Do not bother to make this work for the `Ratings` property which refers to an object rather than a simple value.
33
32
2. It is not necessary to convert property values containing dates or numbers formatted with embedded commas to facilitate sorting for this challenge (but you're welcome to try). You can leave the value 'as is'.
34
33
34
+
>Create a new repository "hyf-javascript2". Also create a new folder "week1" inside this repository.
35
+
Upload your homework files inside the week1 folder and write a description for this “commit”.
36
+
Your hyf-javascript2/week1 should now contain the files of your homework.
37
+
Place the link to your repository folder in Trello.
Copy file name to clipboardExpand all lines: Week5/MAKEME.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
## Homework Week 5
2
2
3
+
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week5/README.md) you find the readings you have to complete before the fourth lecture.
4
+
3
5
### Git
4
6
5
7
1. Create a branch called `MyBranch` in the repository `MyFirst`.
@@ -109,3 +111,9 @@ console.log(y);
109
111
```
110
112
If you are confused please run the code and then consult the Google for "javascript pass by value pass by reference"
111
113
114
+
>Upload your homework in your "hyf-javascript2" Github repository. Make sure to create a new folder "week2" first.
115
+
Upload your homework files inside the week2 folder and write a description for this “commit”.
116
+
Your hyf-javascript2/week2 should now contain all your homework files.
117
+
Place the link to your repository folder in Trello.
Copy file name to clipboardExpand all lines: Week6/MAKEME.md
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
# Homework Week 6
2
-
You can find the [reading material here](https://github.com/HackYourFuture/JavaScript/blob/master/Week6/README.md)
2
+
3
+
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week6/README.md) you find the readings you have to complete before the fourth lecture.
3
4
4
5
- Add your github/repositories link to [this slack file](https://slack-files.com/T0EJTUQ87-F5DAMGML5-cd687fd9b6)
5
6
- Fix the issues from the last week and make sure you explain how you fixed the issue in a comment (or commit message)
@@ -24,3 +25,9 @@ __Requirements__:
24
25
5. Change the function your previously wrote that handles the hovering event and add functionality to it that shows the collaborators of that repo. Note: to do this, you will need to make ANOTHER API call to https://api.github.com/repos/user/repo/events and that lists the 3 last events. Show the type of the event and if the type is 'PushEvent' show the commit message. Take a look at this [API call](https://api.github.com/repos/Razpudding/realtime-slack/events) to see some sample data.
25
26
6. Make sure that when a user goes to your app, your github account info is loaded. They can then use the search field to find info about other github accounts.
26
27
7. BONUS: Look through the data that Github sends back to you on your first API call and think about what other info would be usefull. Add more functionalities to your app like showing how many people starred a repositories or showing the names of the people followed by the current user.
28
+
29
+
>Upload your homework in your "hyf-javascript2" Github repository. Make sure to create a new folder "week3" first.
30
+
Upload your homework files inside the week3 folder and write a description for this “commit”.
31
+
Your hyf-javascript2/week3 should now contain an index.html, main.css and a script.js file (and the images folder)
32
+
Place the link to your repository folder in Trello.
Copy file name to clipboardExpand all lines: Week7/MAKEME.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Homework Week 7
2
2
3
+
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week7/README.md) you find the readings you have to complete before the fourth lecture.
4
+
3
5
## Git Homework:
4
6
5
7
[Make these assignments](https://github.com/HackYourFuture/Git/blob/master/Lecture-3.md)
@@ -46,4 +48,7 @@ Remember the person with the most kata points gets a prize from Gijs (and you ca
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week8/README.md) you find the readings you have to complete before the fourth lecture.
5
5
6
6
## The tools we used in the second lecture
7
7
-[metajs](http://int3.github.io/metajs/)
@@ -25,3 +25,7 @@ This week you will work on finishing your application so it's actually useful!!
25
25
26
26
If you get stuck, remember we have Slack and you can ask questions. -->
27
27
28
+
>Upload your homework in your "hyf-javascript3" Github repository. Make sure to create a new folder "week2" first.
29
+
Upload your homework files inside the week2 folder and write a description for this “commit”.
30
+
Your hyf-javascript3/week2 should now contain all your homework files.
31
+
Place the link to your repository folder in Trello.
0 commit comments