Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>ChessBoard</title>
- <style>
- body {
- background: #CCC;
- }
- .chessboard {
- display: inline-block;
- }
- .black, .white {
- width:50px; height:50px;
- display: inline-block;
- }
- .black {
- background: black;
- }
- .white {
- background: white;
- }
- </style>
- </head>
- <body>
- <script src="chessBoard.js"></script>
- <script>
- document.write(getBoard(5));
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment