New course! Every coder should learn Generative AI!
Try a free lesson0
var s = document. getElementsByTagName(" "); (var x=0; x<s.length;x++) { s[ ].style.backgroundColor = "#33E
2 Answers
0
var s = document. getElementsByTagName("span");
for(var x=0; x<s.length; x++) {
s[x].style.backgroundColor = "#33E";
}
0
thx @Davaakhuu Erdenekhuu it helped me great time