Skip to content

Commit 331efe4

Browse files
committed
Update exercises and add .diffignore
1 parent 8bd83c3 commit 331efe4

File tree

24 files changed

+2
-44
lines changed

24 files changed

+2
-44
lines changed

epicshop/.diffignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.test.*

exercises/01.expressions-and-output/01.problem.hello-world/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
// 🐨 Use console.log() to print "Hello, World!"
55

66
// 🐨 Use console.log() to print your name (as a string)
7-
8-
export {}

exercises/01.expressions-and-output/01.solution.hello-world/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
console.log('Hello, World!')
55

66
console.log('Kody')
7-
8-
export {}

exercises/01.expressions-and-output/02.problem.strings/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@
77

88
// 🐨 Log a sentence by concatenating multiple strings
99
// 💰 Example: "I" + " " + "am" + " " + "learning" + " " + "to" + " " + "code"
10-
11-
export {}

exercises/01.expressions-and-output/02.solution.strings/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ console.log('Hello' + ' ' + 'TypeScript')
66
console.log('Kody' + ' ' + 'Koala')
77

88
console.log('I' + ' ' + 'am' + ' ' + 'learning' + ' ' + 'to' + ' ' + 'code')
9-
10-
export {}

exercises/01.expressions-and-output/03.problem.numbers/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@
99

1010
// 🐨 Log the result of (10 + 5) * 2
1111
// 💰 Parentheses control order of operations
12-
13-
export {}

exercises/01.expressions-and-output/03.solution.numbers/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ console.log(8 * 6)
88
console.log(100 / 4)
99

1010
console.log((10 + 5) * 2)
11-
12-
export {}

exercises/01.expressions-and-output/04.problem.template-literals/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@
88

99
// 🐨 Log a math problem like "10 times 5 equals 50"
1010
// 💰 Use ${10 * 5} for the result
11-
12-
export {}

exercises/01.expressions-and-output/04.solution.template-literals/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ console.log(`The answer is ${40 + 2}`)
66
console.log(`Hello, TypeScript!`)
77

88
console.log(`10 times 5 equals ${10 * 5}`)
9-
10-
export {}

exercises/02.variables/01.problem.let-and-const/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,3 @@ const laptopPrice = 999.99
2424
console.log('Cart subtotal:', cartTotal)
2525
// console.log('Tax:', cartTotal * TAX_RATE)
2626
// console.log('Final total:', finalTotal)
27-
28-
export {}

0 commit comments

Comments
 (0)