@@ -76,7 +76,7 @@ Try them out one by one!
76
76
- ** strings** - group of characters, it must always be in quotes
77
77
78
78
``` js
79
- var name = " Codebar " ;
79
+ var name = " codebar " ;
80
80
81
81
console .log (name + " is amazing!" ); // this is an expression
82
82
```
@@ -116,7 +116,7 @@ That's great! We can combine strings together and add up numbers.
116
116
var codebarIsAwesome = true ;
117
117
var weatherIsAmazing = false ;
118
118
119
- console .log (" Is Codebar AWESOME? " + codebarIsAwesome);
119
+ console .log (" Is codebar AWESOME? " + codebarIsAwesome);
120
120
console .log (" Is the weather in London amazing? " + weatherIsAmazing);
121
121
```
122
122
@@ -180,7 +180,7 @@ Let's try this out.
180
180
181
181
```
182
182
if (codebarIsAwesome) {
183
- console.log("Codebar is AWESOME!");
183
+ console.log("codebar is AWESOME!");
184
184
}
185
185
```
186
186
@@ -190,7 +190,7 @@ We can also write a condition that checks for the opposite, so, not true
190
190
191
191
``` js
192
192
if (! codebarIsAwesome) {
193
- console .log (" Codebar is not so awesome :(!" );
193
+ console .log (" codebar is not so awesome :(!" );
194
194
}
195
195
```
196
196
@@ -314,7 +314,7 @@ If you now run `hello();` you will notice that it says "Hello undefined".
314
314
Ok, so let's call the function with our name.
315
315
316
316
``` js
317
- hello (" Codebar " );
317
+ hello (" codebar " );
318
318
```
319
319
320
320
> Call the function with your name and your coach's name. Do you see the output?
@@ -426,16 +426,16 @@ With help from your coach try and write a program to do the following
426
426
```
427
427
Hi! My name is _name_.
428
428
A couple of things about me _about you_.
429
- I have attended _number of sessions_ Codebar sessions so far!
429
+ I have attended _number of sessions_ codebar sessions so far!
430
430
```
431
431
432
432
- if the number of sessions attended is 0
433
433
```
434
- This is the first time I'm attending Codebar !
434
+ This is the first time I'm attending codebar !
435
435
```
436
436
- If the number of sessions attended is more than 0
437
437
```
438
- This is not my first time here. I <3 Codebar !
438
+ This is not my first time here. I <3 codebar !
439
439
```
440
440
441
441
---
0 commit comments