This pen is by Alex MacArthur ( @alexmacarthur) on CodePen.
See how you can use TypeIt’s .reset() method to replay an animation based on some user action (in this case, a click).
.reset()