/
index.html
83 lines (70 loc) · 2.66 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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Metadata -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Classic pong game created using HTML5 and Javascript.">
<meta name="author" content="Ben Wright">
<title>Ben Wright | Pong Game</title>
<!-- End Metadata -->
<!-- Bootstrap -->
<link href="vendor/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="vendor/bootstrap/css/bootstrap-theme.css" rel="stylesheet" />
<!-- End Bootstrap -->
<!-- Custom Fontsx -->
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet">
<link href="vendor/fontawesome-free/css/all.css" rel="stylesheet">
<link rel="icon" href="https://i.imgur.com/sgSXRRJ.png">
<!-- End Custom Fontsx -->
<!-- Custom Stylesheet -->
<link href="css/styles.css" rel="stylesheet">
<script src="js/main.js"></script>
<script src="js/preloadImages.js"></script>
<!-- End Custom Stylesheet -->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top" id="sideNav">
<a class="navbar-brand">
<span class="d-none d-lg-block">
<img class="img-profile mx-auto mb-2" src="https://i.imgur.com/UhDGoUq.png" alt="Profile Image">
</span>
</a>
<div class="collapse navbar-collapse">
<ul class="navbar-nav">
<ul class="navbar-nav">
<li class="nav-item">
<a href="https://itsbenwright10.github.io/"><button class="nav-button"><span> Home </span></button></a>
</li>
</ul>
</ul>
</div>
</nav>
<!-- End navigation -->
<div class="container-fluid p-0">
<!--Intro Section -->
<section class="container-padding p-3 p-lg-5 d-flex justify-content-start">
<div class="w-100">
<div>
<h2 class="pt-5"> Pong Game Created Using HTML5 And JavaScript</h2>
</div>
<!-- End Intro Section -->
<!-- Game Canvas Section -->
<div class="pt-5">
<canvas id="gameCanvas" width="800" height="600"></canvas>
</div>
<script src="js/pongGame.js"></script>
</div>
<!-- End Game Canvas Section -->
</div>
</section>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>