<html> <head> </head> <body> <!-- the canvas --> <canvas id="Board" width=500 height=500></canvas> <p> <!-- The user interface --> <b>How many boxes per row :</b> <input type="text" maxLength = "3" size = "3" id="BoxCount"> <button type="button" id="redraw" onclick="DrawBoard()">Redraw</button> </body> </html>