Fixed state selected button?

Is there a simple way to create a button that when clicked maintains the ‘clicked’ state (different colour, shape) untill you enter the website afresh, so that you can see which buttons you have already clicked during 1 ‘browsing session’ on the website? Thanks!