var buttons = document.querySelectorAll('button');
buttons.forEach(function(btn){
  btn.addEventListener('click', function(){
    this.style.color = '#00ffc8';
  });
});