basics of a javascript board game
Clicking on any one of the squares changes the colors of all three.
And this time it also has a loop that spits out the HTML for the three boxes.
And here's the
source code
.