3D Transforms - translate3D text in X

Exercise in Javascript and CSS

The buttons onclick to a js function which either adds or removes a css class containing the transform

In this instance the text slides into view

Anybody here
there is also a transition effect built in for good measure