-
Notifications
You must be signed in to change notification settings - Fork 17
/
memo.html
57 lines (42 loc) · 1.45 KB
/
memo.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<title>Memory Game</title>
<link rel="stylesheet" href="css/memo.css"></link>
<script src="scripts/app.js" charset="utf-8"></script>
<link rel="stylesheet" href="css/all.min.css">
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<style>
</style>
</head>
<body>
<section class="bg">
<div class="player">
<button class="play" onclick="document.getElementById('player').play()"><i class="fas fa-play"></i></button>
<button class="pause" onclick="document.getElementById('player').pause()"><i class="fas fa-pause"></i></button>
<button class="volup" onclick="document.getElementById('player').volume += 0.1"><i class="fas fa-volume-up"></i></button>
<button class="voldown" onclick="document.getElementById('player').volume -= 0.1"><i class="fas fa-volume-down"></i></button>
<button class="goback"><a href="./index.html"><i class="fas fa-home"></i></a></button>
</div>
<audio
autoplay loop
src="audio/memory.mp3" id="player">
Your browser does not support the
element.
</audio>
<h1 style="padding: 10px 100px;
align-items: center;
margin: auto;
text-align: center;
font-size: 60px;
color:gold;">
Score:<span id="result"></span></h1>
<section>
<div class="grid">
</div>
</section>
</section>
</body>
</html>