Skip to content

Commit 2e57a92

Browse files
committed
START PROJECT 20.
1 parent a11901c commit 2e57a92

File tree

3 files changed

+77
-1
lines changed

3 files changed

+77
-1
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Speech Detection</title>
6+
</head>
7+
<body>
8+
9+
<div class="words" contenteditable>
10+
</div>
11+
12+
<script>
13+
window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
14+
15+
16+
</script>
17+
18+
19+
<style>
20+
html {
21+
font-size: 10px;
22+
}
23+
24+
body {
25+
background:#ffc600;
26+
font-family: 'helvetica neue';
27+
font-weight: 200;
28+
font-size: 20px;
29+
}
30+
31+
.words {
32+
max-width:500px;
33+
margin:50px auto;
34+
background:white;
35+
border-radius:5px;
36+
box-shadow:10px 10px 0 rgba(0,0,0,0.1);
37+
padding:1rem 2rem 1rem 5rem;
38+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#d9eaf3), color-stop(4%, #fff)) 0 4px;
39+
background-size: 100% 3rem;
40+
position: relative;
41+
line-height:3rem;
42+
}
43+
p {
44+
margin: 0 0 3rem 0;
45+
}
46+
47+
.words:before {
48+
content: '';
49+
position: absolute;
50+
width: 4px;
51+
top: 0;
52+
left: 30px;
53+
bottom: 0;
54+
border: 1px solid;
55+
border-color: transparent #efe4e4;
56+
}
57+
</style>
58+
59+
</body>
60+
</html>

20--Speech_Detection/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Speech Detection</title>
6+
</head>
7+
<body>
8+
9+
<ul>
10+
<li><a href="index-START.html">START</a></li>
11+
<li><a href="index-FINISHED.html">FINISHED</a></li>
12+
<li><a href="index-jds.html">jds</a></li>
13+
</ul>
14+
15+
</body>
16+
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<li><a href="17--Sort_Without_Articles/index.html">17 - Sort Without Articles</a></li>
2727
<li><a href="18--Adding_Up_Times_with_Reduce/index.html">18 - Adding Up Times with Reduce</a></li>
2828
<li><a href="19--Webcam_Fun/index.html">19 - Webcam Fun</a></li>
29-
<!-- <li><a href="20--Speech_Detection/index.html">20 - Speech Detection</a></li> -->
29+
<li><a href="20--Speech_Detection/index.html">20 - Speech Detection</a></li>
3030
<!-- <li><a href="21--Geolocation/index.html">21 - Geolocation</a></li> -->
3131
<!-- <li><a href="22--Follow_Along_Link_Highlighter/index.html">22 - Follow Along Link Highlighter</a></li> -->
3232
<!-- <li><a href="23--Speech_Synthesis/index.html">23 - Speech Synthesis</a></li> -->

0 commit comments

Comments
 (0)