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

Skip to content

Commit 3044904

Browse files
author
Samir Aleido
committed
🌟 refactor: Take out string initialization out of the challenges
1 parent 820c7ef commit 3044904

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Week3/MAKEME.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,17 @@ _Deadline Wednesday_
6464
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.
6565

6666
1\. **Strings!**
67-
1\.1 Let's consider the following string: `let myString = "hello,this,is,a,difficult,to,read,sentence"`.
68-
1\.2 Add the string to your file and console.log it.
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 commas from the string and replace them with spaces.
71-
1\.6 Console.log `myString` to see if you succeeded.
67+
68+
Consider the following string:
69+
70+
```js
71+
let myString = "hello,this,is,a,difficult,to,read,sentence";
72+
```
73+
74+
1\.1 Add the string to your file and console.log it.
75+
1\.2 Console.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 Console.log `myString` to see if you succeeded.
7278

7379
2\. **Arrays!**
7480

0 commit comments

Comments
 (0)