-
Notifications
You must be signed in to change notification settings - Fork 0
/
WordViewerQuiz.html
97 lines (66 loc) · 2.2 KB
/
WordViewerQuiz.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
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
94
95
96
97
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Word Viewer Quiz</title>
<style>
.hidden {
display: none;
}
</style>
<link rel="stylesheet" href="styles.css">
</head>
<body onload="showWordViewerQuiz()">
<div id="contentQuiz" class="vertical-layout">
<div id="phrase-label" class="phrase-label"></div>
<div id="result" class="result-message hidden"></div>
<input type="range" id="example" min="1" max="3" step="1" oninput="checkAnswer()">
<button id="revenge-button" onclick="showWordViewerQuiz()">間違えたトコだけもう一回!</button>
</div>
<div>
<button onclick="backMenu()">メニューにもどる</button>
</div>
<script src="WordViewerQuiz.js"></script>
<script src="script.js"></script>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Word Viewer Quiz</title>
<style>
/* Typing animation */
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
.typing {
display: inline-block;
white-space: nowrap;
overflow: hidden;
border-right: 2px solid;
animation: typing 3s steps(6) -0.5s 1 normal both;
}
.hidden {
display: none;
}
</style>
<link rel="stylesheet" href="styles.css">
</head>
<body onload="showWordViewerQuiz()">
<div id="contentQuiz" class="vertical-layout">
<div id="phrase-label" class="phrase-label"></div>
<div id="result" class="result-message hidden"></div>
<input type="range" id="example" min="1" max="3" step="1" oninput="checkAnswer()">
<button id="revenge-button" class="hidden">間違えたトコだけもう一回!</button>
</div>
<div>
<button onclick="backMenu()">メニューにもどる</button>
</div>
<script src="WordViewerQuiz.js"></script>
<script src="script.js"></script>
</body>
</html>