-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (36 loc) · 2.24 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
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="/css/calculator.css">
<script src="/js/calculator.js" defer></script>
</head>
<body id="background">
<div class="container">
<div id="calculator">
<input id="display" type="text" >
<input class="util-buttons calc-button" type="button" value="C">
<input class="util-buttons calc-button" type="button" value="CE">
<label for="math-switch" class="form-switch util-buttons " id="quick-maths">
<input onclick="toggleQuickMath()" class="form-check-input" type="checkbox" id="math-switch">
</label>
<input class="operator-buttons calc-button" type="button" value="/">
<input class="number-buttons calc-button" type="button" value="1">
<input class="number-buttons calc-button" type="button" value="2">
<input class="number-buttons calc-button" type="button" value="3">
<input class="operator-buttons calc-button" type="button" value="*">
<input class="number-buttons calc-button" type="button" value="4">
<input class="number-buttons calc-button" type="button" value="5">
<input class="number-buttons calc-button" type="button" value="6">
<input class="operator-buttons calc-button" type="button" value="-">
<input class="number-buttons calc-button" type="button" value="7">
<input class="number-buttons calc-button" type="button" value="8">
<input class="number-buttons calc-button" type="button" value="9">
<input class="operator-buttons calc-button" type="button" value="+">
<input class="number-buttons calc-button" type="button" value=".">
<input class="number-buttons calc-button" type="button" value="0">
<input class="grid-span-2 operator-buttons calc-button" type="button" value="=">
</div>
</div>
</body>
</html>