Codecademy Stories

Stories of people inspired by Codecademy to change their life through coding.

Read all our stories

Ryan Hanna
Ryan Hanna
Ryan Hanna

Washington D.C

Ryan Hanna

Washington D.C

"The key function for Sworkit, which randomized the workout exercises, has actually been adapted from a lesson I learned very early on into Code Year. - Ryan Hanna"

In December 2011 Ryan was a coding beginner. A year later, he has built Sworkit, a fitness app with 130,000 downloads. 

Last year Ryan was looking for ways to learn to code. After trying books, videos and articles, he stumbled upon Codecademy. Armed with the skills he learned there, Ryan wanted to build something of his own.

How did you get into programming?

I work as a Network Administrator, but to be honest I didn’t know the first thing about web programming. I found dozens of sites and examples that got me going a little bit, but it wasn’t until Code Year began that it made any sense to me and started to stick.

Did you need to learn other languages to do that?

All of my code in Sworkit is based on HTML, CSS, Javascript and jQuery. I use a platform called Phonegap to convert the code into native device apps.

At the end of Code Year you did more than just learn to code, you created a fitness app! Were the two related?

The key function for Sworkit, which randomizes workout exercises, is actually adapted from a lesson very early on in Code Year!

The third project you do in Code Year is about building a Dice Game. You’d write var die = Math.floor(Math.random()*6 + 1);.

In Sworkit I ended up using a similar function, var workoutFull = chosenWorkout.sort(function() { return 0.5 - Math.random() });.

Sworkit has been featured in big technology blogs like Lifehacker and Gizmodo, with over 130,000 times. How does it feel?

Those numbers may seem small to some and big to others, but I am completely humbled by the support I’ve received. From the start, I’ve been driven to go beyond being just a consumer of applications made by others and instead to create something of my own.

Would you say it was worth it? Sworkit has proven to be my chance to give something back. It is my most rewarding project ever.