-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (63 loc) · 2.74 KB
/
Copy pathindex.html
File metadata and controls
79 lines (63 loc) · 2.74 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Memory Card Game</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="Memory Card Game">
<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">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class="container">
<header>
<h1>Memory Card Game</h1>
</header>
<section class="score-panel">
<ul class="stars">
<li><i class="fa fa-star rating"></i></li>
<li><i class="fa fa-star rating"></i></li>
<li><i class="fa fa-star rating"></i></li>
</ul>
<span class="moves">0</span> Moves
<span id="txt">0</span><span> seconds</span>
<div class="restart">
<i class="fa fa-repeat"></i>
</div>
</section>
<!-- New Deck -->
<ul class="deck" id="deck">
</ul>
<!-- Trigger the modal with a button - only for tests -->
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Open Modal</button> -->
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<!-- <button type="button" class="close" data-dismiss="modal">×</button> -->
<h3 class="modal-title">You win <i class="fa fa-trophy fa-lg" aria-hidden="true"></i></h3>
</div>
<div class="modal-body">
<h4>Moves: <span id="moves-number"></span></h4>
<h4>Time elapsed: <span id="counter-time"></span> seconds</h4>
<h4>Star Rating: <span id="stars-number"></span></h4>
<p>If you want to play again click the "play again" button, otherwise click "close".</p>
</div>
<div class="modal-footer">
<button type="button" id="play-again" class="btn btn-default" data-dismiss="modal">Play Again</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<script src="js/app.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>