I'd like to build everithing with javascript. Perhaps I will even have prompt window to set the size of the board.
When I run it (I press AddKing the function does not add image to the place I put in prompt window. If this (cell.src) is replaced with color (cell.style), the cell change background color.
I would like to insert images into specific cell created in javascript. I did create chessboard. Now i need to put figures in specific place. This I would like to do on two or three different ways.
1. Simple way: When I pres button "Generate table" the program will create table and already put figures into cells (King on A1, Queen on C3, ...)
Leave a comment: