2015 June 01

jQuery has been part of my repertoire since I started writing code. I learned a little bit of pure JavaScript in college but once I discovered how easy it was to throw jQuery into the scripts folder and start working it became part of my standard workflow.

As I’ve gotten more comfortable writing code I’ve become increasingly uncomfortable with how little I actually know about how jQuery works and the language it runs on. One of my goals for this year was to learn JavaScript. This included breaking the habit of defaulting to jQuery and learning how to better determine when to stick with vanilla JavaScript and when jQuery is a necessary addition. I also wanted to become more active on Github, and get better at accessing it through terminal.

So I built an HTML slideshow using JavaScript, and tracked it on Github using the command line.

It took me a few rounds to get the code to a comfortable place. My friend Zach gave me some really helpful feedback on commenting, constant variables, and constructor functions. I also had a breakthrough when I stumbled on this slideshow by Lea Verou and peeked at her code.

Working with the command line had always seemed intimidating, but now I prefer it to using an application. I even created a project page for it which had seemed way outside my skill level just a couple weeks ago.

It’s still a work in progress. I want to add swipe functionality for touch screens, and I’m sure I’ll continue to update the code as I learn more about JavaScript. If you have any suggestions please let me know on twitter or via email.

That said, I feel really good about this project. I learned a ton about best practices and really refined my workflow (another 2015 goal!). It feels like I broke down a huge internal barrier and I’m super excited to build more cool shit.

Links that were really helpful:

Posted in #dev