const htmlButtons = document.querySelectorAll('button'); const htmlButtonsArray = [...htmlButtons]; htmlButtonsArray.map(button => button.disabled = true);