let element = document.querySelector("#value");
let buttons = document.querySelectorAll(".btn");
buttons.forEach(function (button) {
button.addEventListener("click", function(event){
console.log(event.currentTarget);
});
});
Error: The button function is not defined