-
Notifications
You must be signed in to change notification settings - Fork 0
/
speech-rep-test.html
36 lines (35 loc) · 2.31 KB
/
speech-rep-test.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
<html>
<head>
<title>Speech Repetition Test</title>
<link rel="stylesheet" href="style.css">
<script src = "src/sentences.js" type = "text/javascript"></script>
</head>
<body>
<div id = "container">
<div id = "cardboard">
<div id = "top-panel">
<img src="src/speechicon.png" height="80px" style="position: absolute; top: 30%; left: 40px;">
<div style="position: absolute; top: 25%; left: 140px; font-family: ProductSans; font-size: 1.8em;">Speech Repetition Test</div>
<div style="position: absolute; top: 50%; left: 140px; right: 10%; font-family: ProductSans; font-size: 1.2em;">Click on the start button and verbally repeat the sentence displayed into the microphone<br>Click on the sentence to play speech audio</div>
</div>
<div id = "main-content">
<img id = "quit" src = "src/quit.png" height = "40px" style = "position: absolute; top: 5%; right: 3%; cursor: pointer;">
<div id = "sentence">Pagi ini ibu mencari buku yang ayah telah baca.</div>
<div id = "input-sentence"></div>
<div id = "score-details"></div>
<div id = "score" style="position: absolute; bottom: 8%; left: 70px; font-family: ProductSans; font-size: 1.5em;">Score: 0</div>
<button class="my-btn" id="next-btn">Next</button>
<button class="my-btn" id="start-btn">Start</button>
</div>
<div id = "result-panel">
<div style="position: absolute; top: 8%; left: 60px; font-family: ProductSans; font-size: 1.8em;">Overall Results</div>
<div id ="results-total-score" style="position: absolute; top: 18%; left: 60px; font-family: ProductSans; font-size: 1.3em;">Total Score: 0</div>
<div id ="results-total-score-details"></div>
<button class="my-btn" id="reload-btn">Reload</button>
<textarea id ="result-details" style="position: absolute; top: 8%; left: 35%; height: 84%; width: 60%;"></textarea>
</div>
</div>
</div>
<script src = "script.js" type = "text/javascript"></script>
</body>
</html>