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

Skip to content

Commit a7b3ef0

Browse files
committed
fixed merge conflict
1 parent 3fab091 commit a7b3ef0

File tree

1 file changed

+3
-32
lines changed

1 file changed

+3
-32
lines changed

Week3/MAKEME.md

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,6 @@ Go and try out this cool game: http://hyf-robot.herokuapp.com/index.html, there
4343

4444
_Deadline Wednesday_
4545

46-
1\. **Strings!**
47-
1\.1 Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`
48-
1\.2 Add the string to your file and console.log it.
49-
1\.4 Console.log the length of `myString`.
50-
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
51-
1\.6 Console.log `myString` to see if you succeeded.
52-
53-
2\. **Arrays!**
54-
consider the following array:
55-
56-
```js
57-
let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
58-
```
59-
60-
2\.1 Add a statement that adds Mauro's favorite animal (turtle) to the existing array
61-
2\.2 Log your new array!
62-
2\.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'.
63-
2\.4 Write a console.log statement that explains in words _you think_ the new value of the array is.
64-
2\.5 Log your new new array!
65-
2\.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)
66-
2\.7 Jason does not like giraffes, delete this animal from the array
67-
2\.8 Again log your new array.
68-
2\.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?
69-
2\.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)
70-
71-
## Step 5: JavaScript
72-
73-
_Deadline Thursday_
74-
7546
> 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
7647
7748
*IMPORTANT NOTE*
@@ -102,7 +73,7 @@ let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
10273
2\.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?
10374
2\.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)
10475

105-
## Step 5: Custom DOM manipulation challenge :mortar_board:
76+
## Step 6: Custom DOM manipulation challenge :mortar_board:
10677

10778

10879
1. Create a function that takes 3 arguments and returns the sum of the three arguments.
@@ -197,7 +168,7 @@ let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
197168
198169
> ‘Coerce' means to try to change - so coercing `var x = '6'` to number means trying to change the type to number temporarily.
199170

200-
## Step 6: **Finish basic freeCodeCamp challenges:**
171+
## Step 7: **Finish basic freeCodeCamp challenges:**
201172

202173
_Deadline Saturday_
203174

@@ -210,7 +181,7 @@ Please make sure you REALLY understand the exercises below:
210181
- https://www.freecodecamp.com/challenges/add-new-properties-to-a-javascript-object
211182
- https://www.freecodecamp.com/challenges/delete-properties-from-a-javascript-object
212183

213-
## Step 7: Read before next lecture
184+
## Step 8: Read before next lecture
214185

215186
_Deadline Sunday morning_
216187

0 commit comments

Comments
 (0)