var buttons = document.querySelectorAll('button');
buttons.forEach(function(btn){
btn.addEventListener('click', function(){
this.style.color = '#00ffc8';
});
});
var buttons = document.querySelectorAll('button');
buttons.forEach(function(btn){
btn.addEventListener('click', function(){
this.style.color = '#00ffc8';
});
});
info 还没有任何评论,你来说两句呐!