const button = document.querySelector(".button");
button.addEventListener("click", function (evt) {
// the event Target variable will contain the button element that we clicked on
const eventTarget = evt.target;
eventTarget.setAttribute("disabled", true);
});