function initializeButton(buttonText, buttonAction) {
    const buttonElement = document.getElementById('button-element');
    buttonElement.innerText = buttonText;
    buttonElement.addEventListener('click', buttonAction);
  }
  