Using HTML button element to change a variable in the Javascript

You mean this 1: