Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c871d1c

Browse files
authored
Merge pull request HackYourFuture#2 from remarcmij/planningClass12
Planning class12
2 parents 5fa9ac4 + dca9da8 commit c871d1c

File tree

1 file changed

+9
-36
lines changed

1 file changed

+9
-36
lines changed

Week4/MAKEME.md

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
>[Here](https://github.com/HackYourFuture/JavaScript/tree/master/Week4/README.md) you find the readings you have to complete before the fifth lecture.
44
55
## Step 0:
6-
Give yourself (or your neighbour) a little tap on the shoulder, you've made it to JS2! :muscle:
6+
Give yourself (or your neighbor) a little tap on the shoulder, you've made it to JS2! :muscle:
77

8-
#### GIT
9-
Go here to see the [Git Homework](https://github.com/HackYourFuture/Git/blob/master/Lecture-1.md)
8+
## Step 1: Feedback
109

11-
### Step 4: Git branching homework
10+
Give one of your fellow students in Github feedback about their homework of the previous week: create an issue in their repo, telling them what they did great and what they can improve.
1211

13-
1) Use the unmeshvrije/MyFirst repository (the one you cloned) for this homework.
12+
### Step 2: Git branching homework
13+
14+
1) Use the `unmeshvrije/MyFirst` repository (the one you cloned) for this homework.
1415

1516
2) Make a branch.
1617

@@ -22,41 +23,13 @@ Go here to see the [Git Homework](https://github.com/HackYourFuture/Git/blob/mas
2223

2324
6) Then git add, commit and push them in a remote branch.
2425

25-
**Do not merge the changes to master branch.
26+
**Do not merge the changes to master branch.**
2627

27-
** Do not make any changes to master branch.
28+
**Do not make any changes to master branch.**
2829

29-
## Step 1: Some Challenges
30+
## Step 3: Some Challenges
3031
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.'
3132

32-
## Step 3: Feedback
33-
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.
35-
36-
<!-- ### :boom: Bonus homework :boom:
37-
38-
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:
39-
40-
```
41-
function sortMovies(movies, propName, order)
42-
```
43-
44-
Hint: remember from your high school math that:
45-
46-
- `1 x -1 = -1`, and
47-
- `-1 x -1 = 1`
48-
49-
Ensure that the new function produces the same results as the existing `sortByImdbRating` function when it is called like this:
50-
51-
```js
52-
movies = sortMovies(movies, 'imdbRating', -1);
53-
```
54-
55-
Notes:
56-
57-
1. Do not bother to make this work for the `Ratings` property which refers to an object rather than a simple value.
58-
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'. -->
59-
6033
:octocat:
6134
```
6235
How to hand in your homework:

0 commit comments

Comments
 (0)