-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (26 loc) · 802 Bytes
/
Copy pathindex.html
File metadata and controls
27 lines (26 loc) · 802 Bytes
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
<!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">
<title>JavaScript "Pong" Game Training</title>
<style>
* { padding: 0; margin: 0; }
canvas { background: #eee; display: block; margin: 0 auto; }
</style>
<script src="app.js" type="application/javascript"></script>
</head>
<body>
<h1>Hello Peoples :)</h1>
<h3>
This is some "Pong" game written in JavaScript
for training essentials JS principles
</h3>
<button onclick="gameOn()">Start Game</button>
<canvas id="myCanvas" width="480" height="320"></canvas>
</body>
<footer>
<h4>Written by Michael Amar - 308104215</h4>
</footer>
</html>