-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (69 loc) · 2.36 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
<!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" />
<title>Project 1: Pin The Tail</title>
<link rel="stylesheet" href="./style.css" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<script
src="https://kit.fontawesome.com/b5c85453fa.js"
crossorigin="anonymous"
></script>
</head>
<body>
<header>
<h1>Pin The Tail On The Donkey</h1>
</header>
<main class="wrapper">
<div class="game-canvas">
<div class="timer"></div>
<div class="hitbox"></div>
<img class="tail" src="./tail.png" alt="tail" />
<div class="modal modal-hide">
<div class="modal-content">
<h2>Result</h2>
<p class="modal-message">
<!-- success or fail message goes here with jQuery -->
</p>
<button class="modal-close">Close</button>
</div>
</div>
</div>
<div class="instructions">
<div class="arrows">
<button class="left-arrow"><i class="fas fa-arrow-left"></i></button>
<div class="up-down">
<button class="up-arrow"><i class="fas fa-arrow-up"></i></button>
<button class="down-arrow">
<i class="fas fa-arrow-down"></i>
</button>
</div>
<button class="right-arrow">
<i class="fas fa-arrow-right"></i>
</button>
</div>
<button id="startGame">START</button>
<div class="keyboard-instructions">
<p>
<i class="fas fa-arrow-up"></i> <i class="fas fa-arrow-right"></i>
<i class="fas fa-arrow-down"> </i>
<i class="fas fa-arrow-left"></i> to move tail
</p>
<p><i class="fas fa-keyboard"></i> SPACE BAR to pin tail</p>
</div>
</div>
</main>
<footer>
<p>Created in the Accelerated JavaScript course at:</p>
<p><a href="http://www.junocollege.com">Juno College of Technology</a></p>
</footer>
<script
src="https://code.jquery.com/jquery-3.6.0.js"
integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
crossorigin="anonymous"
></script>
<script src="./script.js"></script>
</body>
</html>