generated from VCGithubCode/vernell-c-new-repo-generator
-
Notifications
You must be signed in to change notification settings - Fork 6
/
calculator.html
40 lines (40 loc) · 1.16 KB
/
calculator.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Voice-Controlled Calculator</title>
<link rel='shortcut icon' href="assets/images/logo.webp">
<script src="https://code.responsivevoice.org/responsivevoice.js"></script>
<script src="assets/js/calculator.js"></script> <!-- Link to external JS file -->
<style>
body, html {
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.calculator {
text-align: center;
padding: 20px;
border-radius: 10px;
background-color: white;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.result {
font-size: 2em;
margin: 10px 0;
color: #333;
}
</style>
</head>
<body>
<div class="calculator">
<h1>Voice Calculator</h1>
<div id="calc-result" class="result">0</div>
</div>
</body>
</html>