SnakeGame/index.html

32 lines
707 B
HTML
Raw Normal View History

2020-03-23 13:09:28 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Snake</title>
2020-03-23 13:16:25 +00:00
<link rel="stylesheet" href="style.css">
2020-03-23 13:09:28 +00:00
</head>
<body>
<div id="startScreen">
<h1>My Snake</h1>
Please choose a level:
<ul id="levelChoice"></ul>
<input type="submit" id="startGameBtn" value="Start game">
</div>
<div id="gameScreen">
<h1>Game</h1>
2020-03-23 16:39:20 +00:00
<p>Score: <span id="scoreTarget"></span></p>
2020-03-23 13:09:28 +00:00
2020-03-23 13:16:25 +00:00
<div id="canvasTarget"></div>
2020-03-23 13:09:28 +00:00
<input type="button" id="stopGameBtn" value="Stop game">
</div>
<script src="script.js"></script>
</body>
</html>