I have a HTML button with data- element, and I am trying to extract the value of the clicked button.
for (i = 1; i <= 12; i++) { var button = document.