To follow along, check out the corresponding jsfiddle used in this lecture http://jsfiddle.net/Lsehtkw2/