forked from vishuuwu/Doggo-run
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
32 lines (30 loc) · 1.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel = "stylesheet" href = "style.css" >
<title>Doggo-run</title>
</head>
<body>
<canvas id = "canvasbg"></canvas>
<div id="start">
<idv class="container">
<h1>Doggo-Run</h1>
<div class="intruction" style="display: flex;
flex-direction: row; flex-wrap: wrap;
justify-content: center;
align-items: center;
margin: 2em 0;">
<img src="./Assets/wasd.svg">
<p>
Use S W A D keys to move the main character.
</p>
</div>
<a href="#" onclick="startGame()" class="button">Start Game</a>
</idv>
</div>
<script src = "script.js"></script>
</body>
</html>