function renderButton(label) {
  const button = document.createElement('button');
  button.setAttribute('type', 'button');
  button.textContent = label;
  return button;
}
Render a button.
@param {string} label The text content of the button.
@returns {HTMLButtonElement} The button element.