generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.html
58 lines (50 loc) · 2.22 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Card Game</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/52177094a7.js" crossorigin="anonymous"></script>
<link rel="apple-touch-icon" sizes="180x180" href="favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon//favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<div id="container">
<header class="header">
<h1> <span class="decoration">M</span>emory <span class="decoration">G</span>ame</h1>
</header>
<section class="score-panel">
<ul id="star-rating" class="star-rating">
<li class="star"><i class="fa fa-star"></i></li>
<li class="star"><i class="fa fa-star"></i></li>
<li class="star"><i class="fa fa-star"></i></li>
</ul>
<h3 class="moves moves-header">Moves: <span class="moves-counter">0</span></h3>
<div class="timer-container">
<h3 class="timer"><i class="far fa-clock"></i> <span class="timer-header">Time:</span> 00:00</h3>
</div>
<div class="reset">
<button class="btn reset-btn">Reset <i class="fa fa-repeat"></i></button>
</div>
</section>
<ul class="deck"></ul>
</div>
<!-- Modal section - only appears when game is complete -->
<section class="win-game-modal">
<div id="modal" class="modal">
<!-- Modal content to provide feedback -->
<div class="modal-content">
<span class="close">×</span>
<h2>Congratulations!</h2>
<p>You have won the game and found all 8 pairs of cards.</p>
<img class="modal-img" src="images/success.svg" alt="Gold medal for completing the game">
<button class="btn play-again-btn">Play Again?</button>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>