const listaButtons = document.querySelectorAll('input[type=button]')
const areaDeTexto = document.querySelector("input[type=tel]")
function imprimeTexto(valor){
areaDeTexto.value = areaDeTexto.value + valor;
}
for(let i = 0; i < listaButtons.length; i++){
const botao = listaButtons[i];
botao.onclick = function (){
imprimeTexto (botao.value)
}
}