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
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,10 @@ _Deadline Wednesday_
64
64
In each assignment write at least two `console.log` statements to verify if your code works correctly. In other words proof that you code works as expected. If you need inspiration look at the steps defined in the assignments from last week.
65
65
66
66
1\.**Strings!**
67
-
1\.1 Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`
67
+
1\.1 Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`.
68
68
1\.2 Add the string to your file and console.log it.
69
69
1\.4 Console.log the length of `myString`.
70
-
1\.5 The commas 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
70
+
1\.5 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.
71
71
1\.6 Console.log `myString` to see if you succeeded.
72
72
73
73
2\.**Arrays!**
@@ -80,9 +80,9 @@ let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
80
80
81
81
2\.1 Add a statement that adds Mauro's favorite animal ('turtle') to the existing array
82
82
2\.2 Log your new array!
83
-
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'.
83
+
2\.3 Now add Jim's favorite animal to the array, it's a 'meerkat', but make sure it will be placed after 'blowfish' and before 'capricorn'.
84
84
2\.4 Write a console.log statement that explains in words _you think_ the new value of the array is.
85
-
2\.5 Log your new new array!
85
+
2\.5 Log your new array!
86
86
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)
87
87
2\.7 Jason does not like giraffes, delete this animal from the array
0 commit comments