JavaScript
WordPress Shortcode for embedding multiple YouTube videos using the JavaScript API and including custom Google Analytics Events
Well, that title is a mouthful, let me explain. Recently I had the need to create a shortcode to embed YouTube videos, no problem right? Well, lets introduce a few more variables. First we want to fire custom Google Analytics events on video play, pause and complete which is easy enough to work into the […]
Decoupling your HTML, CSS, and JavaScript
I just read this pretty good article on a good way of thinking about how to separate structure(HTML), style(CSS), and behavior (JavaScript) layers of your web projects. This is especially helpful on larger projects where multiple developers are modifying different pieces of code. It is a good framework to think about when trying to keep […]