I was just reading an article on barcodes and thought this might be a fun experiment. http://electronics.howstuffworks.com/gadgets/high-tech-gadgets/upc.htm My CSS still isn't very good, so I don't know how to do that part properly yet. For now I'm just doing whatever works in my browser window.
After looking at some code by http://jsdo.it/tholman I saw that there was a much better way to do this.
Clicking a tile will toggle it and the adjacent tiles. Objective: Make all tiles the same color (white or black). Hint: It is possible to solve this in as little as 3 clicks.