-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 2.15 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
60
61
62
63
64
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<script type="module" src="/src/main.ts"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>音符カード Online</title>
</head>
<body>
<header>
<h1>音符カード Online</h1>
</header>
<main>
<div id="judge">
<span id="judge-result">不正解</span>
<div id="incorrect-wrapper">
<!-- cross svg -->
<svg class="incorrect-color" viewBox="0 0 48 48">
<line x1="4" y1="44" x2="44" y2="4"/>
<line x1="4" y1="4" x2="44" y2="44"/>
</svg>
<span id="answer-scale" class="incorrect-color">ド</span>
<!-- arrow svg -->
<svg class="arrow" viewBox="0 0 48 48">
<line x1="0" y1="24" x2="40" y2="24"/>
<polygon points="30,16 30,32 40,24" />
</svg>
</div>
<!-- circle svg -->
<svg class="correct-color" viewBox='0 0 48 48'>
<circle cx='24' cy='24' r='19' fill='none'>
</svg>
<span id="score-scale" class="correct-color">レ</span>
</div>
<div id="output"></div>
<div class="answer-wrapper">
<button data-scale="c">ド</button>
<button data-scale="d">レ</button>
<button data-scale="e">ミ</button>
<button data-scale="f">ファ</button>
<button data-scale="g">ソ</button>
<button data-scale="a">ラ</button>
<button data-scale="b">シ</button>
</div>
<button id="cheatsheet-button">
<img src="./soundIcon.png" alt="sound icon">
</button>
</main>
<div class="cheatsheet-wrapper">
<div class="cheatsheet">
<div id="cheatsheet-close">
<svg class="cheatsheet-close-icon" viewBox="0 0 48 48">
<line x1="4" y1="44" x2="44" y2="4"/>
<line x1="4" y1="4" x2="44" y2="44"/>
</svg>
</div>
<div id="cheatsheet-output"></div>
</div>
</div>
</body>
</html>