-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
83 lines (81 loc) · 3.14 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Calculator | HT</title>
<link rel="stylesheet" href="./css/css-reset.css" />
<link rel="stylesheet" href="./css/home.css" />
<!-- Ubuntu font CDN -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap"
rel="stylesheet"
/>
<!-- End -->
</head>
<body class="flex">
<div id="calculator-container" class="flex">
<h1>Calculator</h1>
<section id="calculator">
<section id="display">
<svg
width="28"
height="28"
viewBox="0 0 24 24"
focusable="false"
id="microphone"
>
<path
d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"
></path>
<path
d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"
></path>
</svg>
<section id="display-area">0</section>
<section id="preview-result"></section>
</section>
<table>
<tbody>
<tr>
<td><section class="flex">(</section></td>
<td><section class="flex">)</section></td>
<td><section class="flex">%</section></td>
<td><section id="clear-btn" class="flex">CE</section></td>
</tr>
<tr>
<td class="numbers"><section class="flex">7</section></td>
<td class="numbers"><section class="flex">8</section></td>
<td class="numbers"><section class="flex">9</section></td>
<td><section class="flex">÷</section></td>
</tr>
<tr>
<td class="numbers"><section class="flex">4</section></td>
<td class="numbers"><section class="flex">5</section></td>
<td class="numbers"><section class="flex">6</section></td>
<td><section class="flex">×</section></td>
</tr>
<tr>
<td class="numbers"><section class="flex">1</section></td>
<td class="numbers"><section class="flex">2</section></td>
<td class="numbers"><section class="flex">3</section></td>
<td><section class="flex">−</section></td>
</tr>
<tr>
<td class="numbers"><section class="flex">0</section></td>
<td class="numbers"><section class="flex">.</section></td>
<td><section id="equlity-sign-btn" class="flex">=</section></td>
<td><section class="flex">+</section></td>
</tr>
</tbody>
<div id="more-operator"></div>
</table>
</section>
</div>
<script src="./js/speech-recognizer-synthesizer.js"></script>
<script src="./js/script.js"></script>
</body>
</html>