$state

Thank you for clicking 0 times.

You must opt in to continue. If you're not paying, you're the product.

Notes:

Each button click invokes a function that updates the count. Because count is a state variable, all references to it also update.

A checkbox is used to toggle a state variable "agreed" between TRUE/FALSE. We set it to FALSE at first. When TRUE, HTML and CSS update.

The Subscribe button doesn't do anything.