Sample demonstration on how to use buttons and how to use events. First button relads itself when clicked. Second button perfoms animation withotu consulting server. Third button send request to server to receive instructios to do the animation. Those are 3 major interaction styles you'll use in your application.