-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (91 loc) · 3.41 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Matching Game</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet prefetch"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css"
/>
<link
rel="stylesheet prefetch"
href="https://fonts.googleapis.com/css?family=Coda"
/>
<link rel="stylesheet" href="css/app.css" />
</head>
<body>
<div class="container">
<div class="top-container">
<header><h1>Matching Game</h1></header>
<section class="score-panel">
<!-- GAME TIMER -->
<span class="timer">0:00</span>
<!-- STARS SCORE -->
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<!-- MOVES COUNTER -->
<span class="moves">0</span> Moves
<!-- RESTART BUTTON -->
<div class="restart"><i class="fa fa-repeat"></i></div>
</section>
</div>
<!-- DECK OF CARDS -->
<ul class="deck">
<li class="card"><i class="fa fa-diamond"></i></li>
<li class="card"><i class="fa fa-paper-plane-o"></i></li>
<li class="card"><i class="fa fa-anchor"></i></li>
<li class="card"><i class="fa fa-bolt"></i></li>
<li class="card"><i class="fa fa-cube"></i></li>
<li class="card"><i class="fa fa-anchor"></i></li>
<li class="card"><i class="fa fa-leaf"></i></li>
<li class="card"><i class="fa fa-bicycle"></i></li>
<li class="card"><i class="fa fa-diamond"></i></li>
<li class="card"><i class="fa fa-bomb"></i></li>
<li class="card"><i class="fa fa-leaf"></i></li>
<li class="card"><i class="fa fa-bomb"></i></li>
<li class="card"><i class="fa fa-bolt"></i></li>
<li class="card"><i class="fa fa-bicycle"></i></li>
<li class="card"><i class="fa fa-paper-plane-o"></i></li>
<li class="card"><i class="fa fa-cube"></i></li>
</ul>
</div>
<!-- ######## Start Reference to Helper Code ######## -->
<!-- MODAL OVERLAY -->
<div class="overlay hide">
<!-- MODAL POPUP -->
<div class="modal-wrapper">
<div class="modal-container">
<div class="modal-header">
<h2 class="congrats">Congratulations! You Won!</h2>
<i id="close" class="fa fa-times fa-lg"></i>
</div>
<div class="modal-body">
<div class="stats-left"><h3 class="game-stats">Game Stats</h3></div>
<div class="stats-right">
<span class="time-stat"></span> <span class="moves-stat"></span>
<span class="star-stat"></span>
</div>
</div>
<div class="modal-footer">
<button class="cancel-btn">Cancel</button>
<button class="replay-btn">Play Again</button>
</div>
</div>
</div>
</div>
<!--
######## End Reference to Helper Code ########
######## Begin Attribution ########
Helper code for building the modal was referenced on CSS-Tricks
at https://css-tricks.com/considerations-styling-modal/
on July 2, 2018
######## End Attribution ########
-->
<script src="js/app.js"></script>
</body>
</html>