-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (87 loc) · 4.27 KB
/
index.html
File metadata and controls
93 lines (87 loc) · 4.27 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Nunito&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Bree+Serif&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Anonymous+Pro:400,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>Memory Game</title>
</head>
<body>
<a class="back-link" href="https://millus.github.io/1-Build-A-Portfolio-Site">Camilla's portfolio</a><span>/ Memory Game </span>
<header class="header-container">
<p class="game-type-header">The Memory Game</p>
<h1 class="main-header">MATCH N' BAKE</h1>
</header>
<section class="game-container">
<section class="game-controls">
<div class="game-control-item">
<p class="result-label">Moves: </p>
<span class="moves current-value">0</span>
</div>
<div class="game-control-item">
<p class="result-label">Time: </p>
<span class="time current-value">00:00</span>
</div>
<div class="game-control-item">
<p class="result-label">Score: </p>
<div class="stars">
<img class="star" src="img/star-filled.svg" alt="star-filled">
<img class="star" src="img/star-filled.svg" alt="star-filled">
<img class="star" src="img/star-filled.svg" alt="star-filled">
</div>
</div>
<div class="btn-restart">Restart</div>
</section>
<section class="game-board">
</section>
</section>
<section class="hide">
<section class="modal-content">
<div class="close-btn">X</div>
<h1 class="modal-header main-header">CAKE COMPLETE</h1>
<img class="modal-img" src="img/winner-3.svg" alt="illustration of cake">
<section class="results-container">
<section class="result-item">
<p class="result-label">Moves: </p>
<span class="result-value tot-moves">100</span>
</section>
<section class="result-item">
<p class="result-label">Time: </p>
<span class="result-value tot-time">00:00</span>
</section>
<section class="result-item star-result">
<p class="result-label">Score: </p>
<img class="star" src="img/star-filled.svg" alt=star-filled>
<img class="star" src="img/star-filled.svg" alt=star-filled>
<img class="star" src="img/star-filled.svg" alt=star-filled>
</section>
</section>
<div class="btn-play-again">Play again</div>
</section>
</section>
<footer class="footer-container">
<p>© Copyright 2019 - Camilla Knutsen</p>
<p>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
<p>Sound made by <a href="https://freesound.org/people/grunz/" title="Grunz">Grunz</a> from <a href="https://www.freesound.org/" title="Freesound">www.freesound.org</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
<p>Sound made by <a href="https://freesound.org/people/plasterbrain/" title="Plasterbrain">Plasterbrain</a> from <a href="https://www.freesound.org/" title="Freesound">www.freesound.org</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></p>
<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
alt="Valid CSS!"/>
</a>
</p>
</footer>
<audio class="sound-success" autoplay>
<source src="audio/grunz__success.wav" type="audio/wav">
</audio>
<audio class="sound-win" autoplay>
<source src="audio/plasterbrain__tada-fanfare-g.flac" type="audio/flac">
</audio>
<script src="js/app.js"></script>
</body>
</html>