forked from ironhack-labs/lab-canvas-race-car
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (24 loc) · 847 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<script type="text/javascript" src="js/index.js"></script>
<link rel="stylesheet" href="styles/style.css" />
<title>Race Car</title>
</head>
<body>
<div class="game-intro">
<img src="./images/logo.png" alt="" class="logo-img" />
<br />
<button id="start-button">StartGame</button>
<p>Use the left and right arrow to control the car!</p>
<img src="./images/arrows.png" alt="" class="arrows-img" />
</div>
<div id="game-board">
<canvas id="canvas" width="500" height="700"></canvas>
</div>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>