Compare commits

..

No commits in common. "9cf3f8854ad911f9e83201091b3e1076c053c345" and "cc6f6e07edf636d240673a6c6992049c735d548d" have entirely different histories.

View File

@ -5,11 +5,5 @@ for(let i = 0; i < 64; i++){
}
function selectField(field){
console.log(field.id);
if(field.selected === 0) {
field.style.backgroundColor = "rgb(227,8,8, 0.3)";
field.selected = 1;
} else if (field.selected === 1){
field.style.backgroundColor = "rgb(255,255,255, 1)";
field.selected = 0;
}
field.style.backgroundColor = "rgb(227,8,8, 0.3)";
}