strange.tany,
<head>
<style>
.hit {background-color: "black";}
td { weight: 10px;
height:10px;
}
</style>
</head>
<body>
<table>
<tr>
<td id="00"></td><td id="01"></td>
</tr>
<tr>
<td id="10"></td><td id="11"></td>
</tr>
</table>
<script>
var hit = document.getElementsByClassName("hit");
var timer = window.setInterval(function() {
for (var i = 0; i < hit.length; i++) hit[i].style.backgroundColor = "white";
if (hit.length) window.clearInterval(timer)
},50);
document.getElementById("10").classList.add("hit");
</script>
</body>