Create the canvas
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>My Snake</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -20,6 +21,8 @@
|
||||
<div id="gameScreen">
|
||||
<h1>Game</h1>
|
||||
|
||||
<div id="canvasTarget"></div>
|
||||
|
||||
<input type="button" id="stopGameBtn" value="Stop game">
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user