amp-script Click Counter Demo

Demonstrating persistent state in amp-script via localStorage. After clicking the button a few times, reload the page and see that the previous click count is re-hydrated.


Original by @westonruter, hacked by @akent99