TTC Stations

Commuting time by minutes: Biking or Walking

View the Project on GitHub yiuklh/jsproj2hy

TTC Stations

Commuting time by minutes: Biking or Walking ~~ an Intro JavaScript and jQuery learning project by kyiu~~

Intro

Sometimes there are subway problems at TTC stations delaying regular commutes. So a passenger decide to either bike or walk going to his/her destination.

Beginner-level

Only "Line 4 Sheppard-Yonge"

Assuming these SIMPLE conditions

Intermediate-level

Only "Line 4 Sheppard-Yonge"

Assuming conditions

Advanced-level

Assuming conditions

Review Key Idea:

  1. GET something: station buttons btn class
  2. LISTEN something: button click event
  3. DO something: Display info when button clicks

NOTE: Setup user interface with two button classes. Eg) .btn1, .btn2

Extra Advanced-level

Assuming conditions

Super Advanced-level

BONUS challenges:


BACKGROUND STORY:

Q: How did I come up such idea?

CBC Archives, August 14, 2003 < http://www.cbc.ca/archives/entry/2003-the-great-north-america-blackout >

On August 14, 2003 at around after 4pm EST, there was a sudden blackout in the GTA. The power outage in that evening rush hours had caused all the transits systems, included TTC, to immediately shut down.

As more news emerged, it turned out to be the “Great North America Blackout” that affected most of Southern Ontario and Northeastern United States. Some communities in cities were without power for only 1 to 3 days, but some were affected for a week.

Many daily commuters in Downtown were finding alternative ways to return homes in the suburbs. Some luckier commuters were able to take the overcrowded replacement shuttle buses. While many had walked northbound (and uphill) along Yonge Street from Downtown going back homes. Stories from people had reported that walking from Union Station to Finch Station took at least 6 hours. Some commuters might had walked another 1 to 4 more hours for their trip to homes, depending on how far they reside away from the City of Toronto, which is commonly refer as “north of Steeles Avenue”.

A: If similar situation to happen again, I certainly would like to know how long to "horsepower" commute in between the TTC stations.

Authors and Contributors

Based on Pavlo Kalyta's Walking TTC Stations Map < http://www.blogto.com/city/2016/03/map_shows_walking_times_between_ttc_subway_stops/ > + BikingToronto Modifed Biking Version < http://bikingtoronto.com/blog/2016/03/map-of-biking-times-between-ttc-subway-stops/ >

Map Information: © 2016 Toronto Transit Commission < https://www.ttc.ca/ >

Creative Commons

This code learning project is licensed under the Creative Commons. < http://creativecommons.org/licenses/by-nc/4.0/ >

Creative Commons 2016. Thoughtfully </> by kyiu (@yiuklh) with @hackeryou

GitHub Support

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.