JS fitness

It’s time for me to make a daily effort (God help me) to get my Javascript skills in shape. Right now, my JS skills are super lazy and spend all day watching old soap operas, drinking syrup, and eating donut cheetos pie.

To do that, I’m gonna do a thing with Javascript daily. Some might be super simple like this first one. Some will be more involved (especially on those days where I’m feeling all “FUCK YEAH LET’S CODE A BUNCH”).

Here’s #1. Help me improve and comment a bunch on all of these.

See the Pen JS Fitness 1 by Michael Arestad (@MichaelArestad) on CodePen.

UPDATE Jan 3 2015: I created a CodePen collection.

Let’s build a vendor prefix quick reference

I have my own SCSS file to handle vendor prefixes. It’s painful to keep updated and requires some serious hunting to get all the nitty-gritty details for each property. I have to dig through caniuse, css3please, MDN, webplatform.org, and a few others. Yes, I could use Autoprefixer, -prefix-freeCompass, or any number of other solutions. I would rather not because I like knowing all the nitty-gritty little things going on with my code and which browsers I’m supporting.

Read More