Created mbta.html with source file src/mbta.js.
Created src/mbta.js.
Pasted code from lab work in class into mbta.js.
Created line_lookup function to take in a string and pass it in to return the appropriate MBTA line array.
Invoked distance_to_park function within total_distance function. Renamed function from calculateDistance to use snake case according to naming conventions.
Changed title.
Created blank files: better_mbta.html and spec/better.mbta.js.
Copied and pasted code from JS MBTA lab into better_mbta.js to work from.
Refactored to make all function and variable names in camel case.
Changed station name.
Saving inputs into object variables within MBTA.
Wrote expressions to calculate distance from park and total distance traveled.
Made calcDistances return total distance value. Invoked calcDistances within distance function.
Added missing parentheses.
Added missing 'var'.
Added 'this.' before calling object function distanceToPark.
Removed unnecessary object variable. Made distance function return concatenated value and invoked calcDistances function directly within the expression.
Renamed function distanceToPark to indexOfPark to clarify what the function really does.