Skip to content

Commit 50c5734

Browse files
authored
Merge pull request LaunchCodeEducation#3 from LaunchCodeEducation/redeclaration-fix
Redeclaration fix
2 parents 682e314 + d35be11 commit 50c5734

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.gitignore

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

exercises/parts1-5.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
// https://education.launchcode.org/intro-to-professional-web-dev/chapters/typescript/exercises.html
33

44

5-
// Part 1: Add the 5 variables here.
5+
// Part 1: Declare (5) Variables With Type
66

77

88

9-
// Part 2: Declare and assign the 3 new variables here.
9+
// Part 2: Print Days to Mars
1010

1111

1212

1313
// Code an output statement here (use a template literal):
1414

1515

1616

17-
// Part 3: Code the "getDaysToLocation" function here:
17+
// Part 3: Create a Function ("getDaysToLocation")
1818

1919

2020

@@ -24,8 +24,8 @@
2424

2525

2626

27-
// Part 4: Move the function and 3 variables into a class.
28-
// Define your Spacecraft class here:
27+
// Part 4: Create a Spacecraft Class
28+
2929

3030

3131

@@ -38,9 +38,10 @@
3838

3939

4040

41-
// Part 5: Add the required import statement BEFORE the part 1 concent.
41+
// Part 5: Export and Import the SpaceLocation Class
42+
// Add the required import statement BEFORE the part 1 concent.
4243

4344

4445
// Add the printDaysToLocation function to the Spacecraft class.
4546

46-
// Paste in the code from step 6 here:
47+
// Paste in the code from step 6 here:

0 commit comments

Comments
 (0)