generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
59 lines (56 loc) · 2.92 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
<!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">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>Home - Premier League Flip</title>
</head>
<body id="index-body">
<div>
<div id="index-heading">
<h1>Premier League Flip</h1>
<h4><em>A Premier League inspired spin on the classic family game <a href="https://en.wikipedia.org/wiki/Concentration_(card_game)" target="_blank" rel="noopener">Concentration</a></em></h4>
</div>
<div>
<span class="index-buttons">
<button id="how-to-play" type="button" data-toggle="modal" data-target="#HowToModal" aria-label="How to Play">How to Play</button>
</span>
<span class="index-buttons">
<a id="start-game" href="game.html" role="button" aria-label="Start Game">Start Game</a>
</span>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="HowToModal">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header text-center d-block">
<h2 class="modal-title d-inline-block">How To Play</h2>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
</button>
</div>
<div class="modal-body">
<ul class="how-to-play">
<li>To start the game, click on any card</li>
<li>Clicking on cards will flip them over, to reveal a Teams crest</li>
<li>The aim of the game is to match 2 of the same crest by flipping them over consecutively</li>
<li>Selecting 2 Unmatched crests will flip them back over, testing the Players memory</li>
<li>You have 60 seconds to match all Team crests; doing so in as little moves as possible will gain you a better star rating.</li>
<li>Clicking reset will restart your game</li>
</ul>
<div id="game-start">
<a class="modal-btn" href="game.html">Start Game</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- bootstrap and jquery for modal -->
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- JS file -->
<script src="assets/js/script.js"></script>
</body>
</html>