TIC tac toe code by Turs:
<!DOCTYPE html><html><head><title>Tic-Tac-Toe
By Turs</title><style>body{background:
black;color: white;}
#box{color: green;}button
{background: white;border: 2px solid
brown;width: 50px;height: 50px;}</style></
head><body><h1 style="font-size: 2em;text-align:
center;">Tic-Tac-Toe By Turs</h1><table
width="100%"><tr><th><button class =
"button"></button></th><th><button class =
"button"></button></th><th><button class =
"button"></button></th></tr></table><table
width="100%"><tr><th><button class =
"button"></button></th><th><button class =
"button"></button></th><th><button class =
"button"></button></th></tr></table><table
width="100%"><tr><th><button class =
"button"></button></th><th><button class =
"button"></button></th><th><button class =
"button"></button></th></tr></table>Player:
(X)Coputer: (O)<p><br><center>©TopDevs</
center><script>const boxes =
document.querySelectorAll(".button");let turn0 =
true;boxes.forEach((box) =>
{box.addEventListener("click",function (){if (turn0
= true){box.innerText="x";turn0 =
false;box.style.color= "green";box.disabled = true;}
else{box.innerText="O";turn0 =
true;box.style.color="red";box.disabled =
true;});});</script></body></html>