Javascript-How can I change style of my app in a click and change again in a second click and return to my initial style in third click

I’m making a calculator with Javascript and I want to make a button that if I click on it whole style of my project changes and if I click again whole style changes again and at third click it returns to initial style

I don’t have any Idea how I can change whole style for three times just with one button?