@@ -47,7 +47,7 @@ console.log('I'm awesome');
47
47
48
48
3 . Declare a variable ` x ` and initialize it with an integer.
49
49
3.1 First, _ declare_ your variable ` x ` .
50
- <br > 3.2 Add a console.log statement that explains that explains in words what _ you think_the value of ` x ` is, like in this example:
50
+ <br > 3.2 Add a console.log statement that explains that explains in words what _ you think _ the value of ` x ` is, like in this example:
51
51
``` js
52
52
// TODO -> here you initialize your variable
53
53
console .log (' the value of my variable x will be: whateverYouThinkItWillLog' );
@@ -100,7 +100,7 @@ console.log('I'm awesome');
100
100
<br > 6.7 Log your new array!
101
101
102
102
7 . More strings
103
- 7.1 Let's consider the following string: ` let myString = "this,is,a,test" ` .
103
+ < br > 7.1 Let's consider the following string: ` let myString = "this,is,a,test" ` .
104
104
<br > 7.2 Add the string to your file and console.log it.
105
105
<br > 7.3 Find a way to get the length of ` myString ` .
106
106
<br > 7.4 Console.log the length of ` myString ` .
@@ -116,11 +116,13 @@ console.log('I'm awesome');
116
116
<br > 8.4 Now use ` typeof ` to log the actual _ type_ of your variables.
117
117
<br > 8.5 Now compare the types of your different variables with one another.
118
118
<br > 8.6 Make sure to also show a message when the variables you are comparing are not the same type.
119
- For example:
119
+
120
+ For example:
121
+
120
122
```js
121
123
let x = 9;
122
124
let y = 'Hello';
123
-
125
+
124
126
if () {
125
127
console.log('SAME TYPE');
126
128
}
0 commit comments