tion logButtons(event) {
              // Avoid interfering with form elements
              mouseButtonState.textContent = format(event);
            }
            document.addEventListener("mouseup", logButtons);
            document.addEventListener("mousedown", logButtons);

            // pointer click target
            const pointerClickTarget = document.getElementById("pointerClickTarget");
            pointerClickTarget.addEventListener("dblclick", (e) => {
                pointerClickTarget.textCo