-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (47 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
<script src="https://kit.fontawesome.com/55b7e3185d.js" crossorigin="anonymous"></script>
<title>Card memory game</title>
</head>
<body>
<div id="page-container">
<div id="content-wrap">
<div id="app">
<div class="clearfix" style="padding: 15px 0;">
<div style="float: left;">
Time: <span id="display">00:00</span>
Failures: <span id="failures">0</span>
</div>
<div style="float: right;">
<div class="tooltip">
<button id="btn-sound" class="btn btn-sound" aria-label="Enable or disable effect sound">
<i class="fas fa-volume-up fa-lg"></i>
</button>
<span class="tooltiptext">Sound efect</span>
</div>
<div class="tooltip">
<button id="btn-reset" class="btn btn-reset" aria-label="Reset game">
<i class="fas fa-redo-alt"></i>
</button>
<span class="tooltiptext">Restart</span>
</div>
</div>
</div>
<div id="grid"></div>
<audio id="flip" src="audio/flip.mp3"></audio>
<audio id="success" src="audio/success.mp3"></audio>
</div>
</div>
<footer id="footer">
<p id="footer-content">Made with <span id="heart-emoji">❤</span> by <a
href="http://github.com/thiagorocha503/" target="_blank" id="github-link"
rel="noopener noreferrer">Thiago Rocha</a></p>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="js/script.js"></script>
</body>
</html>