Purpose
| |
The purpose of this assignment is to show the use of tables (including nesting). I decided to create a chessboard because it's
a classic example of how to use tables to create a grid containing multiple square cells. I copied the chess
piece images from a computer chess game. The images are centered in the middle of each cell and I was able to
create the checker pattern using different background colors. If you hover over the pieces you'll
notice that a caption appears that tells you the name of the chess piece.
|
|
|
|
|
Chess Board
|
|
|
|
|
|
|
|
|
|
| 8 |
 |
 |
 |
 |
 |
 |
 |
 |
|
| 7 |
 |
 |
 |
 |
 |
 |
 |
 |
|
| 6 |
|
|
|
|
|
|
|
|
|
| 5 |
|
|
|
|
|
|
|
|
|
| 4 |
|
|
|
|
|
|
|
|
|
| 3 |
|
|
|
|
|
|
|
|
|
| 2 |
 |
 |
 |
 |
 |
 |
 |
 |
|
| 1 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
A |
B |
C |
D |
E |
F |
G |
H |
|
|
|
|