-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex3.html
62 lines (47 loc) · 1.75 KB
/
index3.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Game</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap" rel="stylesheet">
<style>
canvas{
border: none;
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="center">
<div class="content">
<div class="header">
<h2>Ping Pong!</h2>
</div>
<span><p class="final-score"></p></span>
<div class="line"></div>
<a href="index.html" class="close-btn">Get me home!</a>
<a href="index2.html" class="restart-btn">Play More!</a>
</div>
</div>
<div class="center-f">
<div class="content-f">
<div class="header-f">
<h2>Ping Pong!</h2>
</div>
<span><p class="final-score-f"></p></span>
<div class="line"></div>
<a href="index.html" class="close-btn">Get me home!</a>
<a href="index2.html" class="restart-btn">Play More!</a>
</div>
</div>
</div>
<canvas id="gameCanvas" width="1000" height=" 660"></canvas>
<script src="script.js"></script>
</body>
</html>