This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (65 loc) · 2.38 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
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>BUZZKILL</title>
<link type="text/css" rel="stylesheet" href="./css/style.css">
</html>
<body>
<div id="hero">
<h1 class="center">BUZZKILL</h1>
</div>
<div id="mic">
<button id="start_button" onclick="startButton(event)">
<img id="start_img" src="./img/microphone.png" alt="Start">
</button>
</div>
<div id="results">
<div id="resultbox">
<span id="final_span" class="final"></span>
<span id="interim_span" class="interim"></span>
<p></p>
</div>
</div>
<div id="scorebox">
<div id="trophybox">
<img id="trophy" src="" style="height: 40px;" />
</div>
<div id="score">
<div id="info">
<p id="final_score"></p>
<p id="info_start">
</p>
<p id="info_speak_now">
</p>
<p id="info_no_speech">
No speech was detected. You may need to adjust your
<a href="//support.google.com/chrome/bin/answer.py?hl=en&answer=1407892">microphone settings</a>.
</p>
<p id="info_no_microphone" style="display:none">
No microphone was found. Ensure that a microphone is installed and that
<a href="//support.google.com/chrome/bin/answer.py?hl=en&answer=1407892">microphone settings</a>
are configured correctly.
</p>
<p id="info_allow">
</p>
<p id="info_denied">
Permission to use microphone was denied.
</p>
<p id="info_blocked">
Permission to use microphone is blocked. To change,
go to chrome://settings/contentExceptions#media-stream</p>
<p id="info_upgrade">
Web Speech API is not supported by this browser.
Upgrade to <a href="//www.google.com/chrome">Chrome</a>
version 25 or later.
</p>
</div>
<div id="scoretag"></div>
</div>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="./js/words.js"></script>
<script src="./js/script.js"></script>
</body>
</html>