Behind the Scenes Tools

Emerson College newspaper builds an app to calculate the cost of snow days

Boston has been hit by punishing, record snowfall this winter and some days the resulting white out has shut down public transportation, workplaces, schools and and universities. Emerson College, in downtown Boston, has been forced to cancel five and a half days of classes due to snow. As one snowstorm began to run into the next, Ryan Catalani, editor-in-chief of The Berkeley Beacon, Emerson’s weekly student newspaper, wrestled with how to best cover the snow days for his paper.

“We were sitting around thinking ‘Wouldn’t it be cool if there was a calculator to see how many classes you’ve missed?'” Catalani said, and how much that cost a student in dollar terms. “So I built it.”


Catalani’s snow calculator allows students to enter the number of classroom hours they’ve missed due to snow and the calculator would show the value of their canceled classes. The snow calculator makes it easy to share their total snow day costs on Twitter and Facebook.

How was it built? The code was simple, Catalani explains. “We found the cost of each credit and divided it by classroom hours.” Each credit at Emerson is worth $1,145 and each credit is equal to 15 classroom hours. Divide those two and each missed classroom hour is worth $76.33. Below is an excerpt of his code.

		var credit_cost = 1145.0; 
		var credit_hours = 15.0; 
		var credit_cost_per_hour = credit_cost / credit_hours;

Using Javascript, Catalani wrote a short program that multiplied $76.33 with the hours of class inputed. The result is displayed prominently and readers are encouraged to share their total losses on social media. Catalani was surprised to find he could format the language for Facebook posts and tweets without having to tap into API’s (application programming interfaces). This saves a lot of hassle. Instead, he just formats a URL to include the total he’s calculated with the Javascript code. (

DON’T MISS  From radio to TikTok: How Matt Shearer has transformed WBZ's coverage

The Berkeley Beacon’s snow calculator was popular on campus and eventually highlighted by Boston Magazine. Catalani says these kind of projects can make a student newspaper stand out. Emerson’s Berkeley Beacon is no stranger to college media awards, though. The paper recently won two awards at the National College Journalism Convention.

The first issue of The Berkeley Beacon.
The first issue of The Berkeley Beacon.


Aleszu Bajak

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest from Storybench

Keep up with tutorials, behind-the-scenes interviews and more.