File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 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
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
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:
You can’t perform that action at this time.
0 commit comments