Skip to content

Commit 77a7a25

Browse files
committed
js tutorial codebar updated
1 parent 6d6c65c commit 77a7a25

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

js/lesson1/tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Try them out one by one!
7676
- **strings** - group of characters, it must always be in quotes
7777

7878
```js
79-
var name = "Codebar";
79+
var name = "codebar";
8080

8181
console.log(name + " is amazing!"); // this is an expression
8282
```
@@ -116,7 +116,7 @@ That's great! We can combine strings together and add up numbers.
116116
var codebarIsAwesome = true;
117117
var weatherIsAmazing = false;
118118

119-
console.log("Is Codebar AWESOME? " + codebarIsAwesome);
119+
console.log("Is codebar AWESOME? " + codebarIsAwesome);
120120
console.log("Is the weather in London amazing? " + weatherIsAmazing);
121121
```
122122

@@ -180,7 +180,7 @@ Let's try this out.
180180

181181
```
182182
if (codebarIsAwesome) {
183-
console.log("Codebar is AWESOME!");
183+
console.log("codebar is AWESOME!");
184184
}
185185
```
186186

@@ -190,7 +190,7 @@ We can also write a condition that checks for the opposite, so, not true
190190

191191
```js
192192
if (!codebarIsAwesome) {
193-
console.log("Codebar is not so awesome :(!");
193+
console.log("codebar is not so awesome :(!");
194194
}
195195
```
196196

@@ -314,7 +314,7 @@ If you now run `hello();` you will notice that it says "Hello undefined".
314314
Ok, so let's call the function with our name.
315315

316316
```js
317-
hello("Codebar");
317+
hello("codebar");
318318
```
319319

320320
> 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
426426
```
427427
Hi! My name is _name_.
428428
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!
430430
```
431431

432432
- if the number of sessions attended is 0
433433
```
434-
This is the first time I'm attending Codebar!
434+
This is the first time I'm attending codebar!
435435
```
436436
- If the number of sessions attended is more than 0
437437
```
438-
This is not my first time here. I <3 Codebar!
438+
This is not my first time here. I <3 codebar!
439439
```
440440

441441
---

0 commit comments

Comments
 (0)