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

Skip to content

Commit 49a3bae

Browse files
committed
fixed merge conflict
1 parent 544517e commit 49a3bae

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

Week2/MAKEME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Provide feedback on the HTML-CSS assignments (week 3) of one of your fellow stud
3131

3232
_Deadline Thursday_
3333

34-
> 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. All these
34+
> 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.
3535
3636
1\. Write a `console.log` statement saying "Hello World!" for each language that you know.
3737

Week3/MAKEME.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,36 @@ Provide feedback to step 1 and step 3 of the homework of last week to one of you
3939

4040
Go and try out this cool game: http://hyf-robot.herokuapp.com/index.html, there are different levels, see how far you can get!
4141

42-
## Step 4: JavaScript
42+
## Step 4: String and Array challenges
43+
44+
_Deadline Wednesday_
45+
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
4372

4473
_Deadline Thursday_
4574

@@ -140,7 +169,7 @@ In each assignment write at least two `console.log` statements to verify if your
140169
141170
> ‘Coerce' means to try to change - so coercing `var x = '6'` to number means trying to change the type to number temporarily.
142171

143-
## Step 5: **Finish basic freeCodeCamp challenges:**
172+
## Step 6: **Finish basic freeCodeCamp challenges:**
144173

145174
_Deadline Saturday_
146175

@@ -153,7 +182,7 @@ Please make sure you REALLY understand the exercises below:
153182
- https://www.freecodecamp.com/challenges/add-new-properties-to-a-javascript-object
154183
- https://www.freecodecamp.com/challenges/delete-properties-from-a-javascript-object
155184

156-
## Step 6: Read before next lecture
185+
## Step 7: Read before next lecture
157186

158187
_Deadline Sunday morning_
159188

0 commit comments

Comments
 (0)