-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (52 loc) · 1.91 KB
/
index.html
File metadata and controls
64 lines (52 loc) · 1.91 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="utils.css">
</head>
<body>
<h1 id="element"></h1>
<div class="container mx-auto flex flex-col item-center color">
<fieldset>
<div class="row">
<input class="input" type="text" placeholder ="Calculate">
</div>
<div class="row">
<button class="button black">7</button>
<button class="button black">8</button>
<button class="button black">9</button>
<button class="button yellow">C</button>
</div>
<div class="row">
<button class="button black">4</button>
<button class="button black">5</button>
<button class="button black">6</button>
<button class="button yellow" id="mul">X</button>
</div>
<div class="row">
<button class="button black">1</button>
<button class="button black">2</button>
<button class="button black">3</button>
<button class="button yellow">/</button>
</div>
<div class="row">
<button class="button black">0</button>
<button class="button black">=</button>
<button class="button yellow">-</button>
<button class="button yellow">+</button>
</div>
</fieldset>
</div>
<script src="script.js"></script>
<script src="https://unpkg.com/typed.js@2.1.0/dist/typed.umd.js"></script>
<script>
var typed = new Typed('#element', {
strings: ['Welcom to Web Calculator'],
typeSpeed: 50,
});
</script>
</body>
</html>