For Cliff, this is how I would use pure JavaScript to traverse the DOM, in particular, the parentNode property like you had mentioned, normally, I would use jQuery for DOM traversal, but certainly pur JS is more performant