回答編集履歴
1
修正
answer
CHANGED
@@ -38,7 +38,6 @@
|
|
38
38
|
function Change(e) {
|
39
39
|
const a = e.parentNode;
|
40
40
|
for(let i = 0; cl.length>i;i++){
|
41
|
-
console.log(cl[i]);
|
42
41
|
cl[i].style.backgroundColor = 'white';
|
43
42
|
a.style.backgroundColor = 'red';
|
44
43
|
}
|