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: Week3/MAKEME.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,10 @@ Consider the following string:
71
71
let myString ="hello,this,is,a,difficult,to,read,sentence";
72
72
```
73
73
74
-
1\.1 Add the string to your file and log it.
75
-
1\.2 Log the length of `myString`.
76
-
1\.3 The commas make that the sentence is quite hard to read. Find a way to remove the commas from the string and replace them with spaces.
77
-
1\.4 Log `myString` to see if you succeeded.
74
+
1\.1 Add the string to your file and log it.<br />
75
+
1\.2 Log the length of `myString`.<br />
76
+
1\.3 The commas make that the sentence is quite hard to read. Find a way to remove the commas from the string and replace them with spaces.<br />
77
+
1\.4 Log `myString` to see if you succeeded.<br />
78
78
79
79
2\.**Arrays!**
80
80
@@ -84,16 +84,16 @@ Consider the following array:
84
84
let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
85
85
```
86
86
87
-
2\.1 Add a statement that adds Mauro's favorite animal *'turtle'* to the existing array.
88
-
2\.2 Log your new array!
89
-
2\.3 Now add Jim's favorite animal to the array, it's *'meerkat'*, but make sure it will be placed after *'blowfish'* and before *'capricorn'*.
90
-
2\.4 Write a console.log statement that explains in words _you think_ the new value of the array is.
91
-
2\.5 Log your new array!
92
-
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).
93
-
2\.7 Jason does not like *'giraffe'*, delete this animal from the array.
94
-
2\.8 Again log your new array.
95
-
2\.9 Now if unlike Jim, you don't like *'meerkat'* 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?
96
-
2\.10 Log the index of *'meerkat'*. Add a message so it says: *'The item you are looking for is at index: '* (here you should show the index of the item).
87
+
2\.1 Add a statement that adds Mauro's favorite animal *'turtle'* to the existing array.<br />
88
+
2\.2 Log your new array!<br />
89
+
2\.3 Now add Jim's favorite animal to the array, it's *'meerkat'*, but make sure it will be placed after *'blowfish'* and before *'capricorn'*.<br />
90
+
2\.4 Write a console.log statement that explains in words _you think_ the new value of the array is.<br />
91
+
2\.5 Log your new array!<br />
92
+
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).<br />
93
+
2\.7 Jason does not like *'giraffe'*, delete this animal from the array.<br />
94
+
2\.8 Again log your new array.<br />
95
+
2\.9 Now if unlike Jim, you don't like *'meerkat'* 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?<br />
96
+
2\.10 Log the index of *'meerkat'*. Add a message so it says: *'The item you are looking for is at index: '* (here you should show the index of the item).<br />
0 commit comments