在google的第一首页(https://google.com)中,我了解到带有标签的图标的更改。
我在控制台中输入类似的代码。
var lists = document.getElementsByTagName('a');
lists.forEach(function(a){
links[a].style.border = 'blue 2px solid'
});
但控制台说
VM3079:1 Uncaught TypeError: links.forEach is not a function
at <anonymous>:1:7
救救我...!