-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (32 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Voice Recognition</title>
<link rel="stylesheet" href="CSS/style.css">
</head>
<body>
<header>
<h1>Web Speech API</h1>
</header>
<main>
<div class="container">
<article>
<h2>Simple Maths</h2>
<form>
<input type="text" class="first-number" value="">
<span class="operator"></span>
<input type="text" class="second-number" value="">
<output class="answer"></output>
</form>
<button class="answer-btn"><span class="mobile">Press</span><span class="desktop">Click</span> then say your answer*</button class="answer-btn">
<button class="next-btn">Next<span class="arrow">→</span></button>
<small>*You need to enable Siri in System settings for this to work in Safari on Mac</small>
</article>
</div>
</main>
<script src="JS/script.js"></script>
</body>
</html>