Skip to content

Commit 61f419f

Browse files
author
Samir Aleido
committed
🎨 style: Fix line break
1 parent db1fc11 commit 61f419f

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

Week3/MAKEME.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ Consider the following string:
7171
let myString = "hello,this,is,a,difficult,to,read,sentence";
7272
```
7373

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 />
7878

7979
2\. **Arrays!**
8080

@@ -84,16 +84,16 @@ Consider the following array:
8484
let favoriteAnimals = ['blowfish', 'capricorn', 'giraffe'];
8585
```
8686

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 />
9797

9898
## More JavaScript :tada:
9999

0 commit comments

Comments
 (0)