-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
51 lines (41 loc) · 2.09 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
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<style>
@import url('https://fonts.googleapis.com/css?family=Michroma&display=swap');
</style>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="calc">
<div class="wrapAll">
<div class="display">0</div>
<div class="wrapNumbers">
<input type="button" id="7" class="numbers clickable" value="7"></input>
<input type="button" id="8" class="numbers clickable" value="8"></input>
<input type="button" id="9" class="numbers clickable" value="9"></input>
<input type="button" id="4" class="numbers clickable" value="4"></input>
<input type="button" id="5" class="numbers clickable" value="5"></input>
<input type="button" id="6" class="numbers clickable" value="6"></input>
<input type="button" id="1" class="numbers clickable" value="1"></input>
<input type="button" id="2" class="numbers clickable" value="2"></input>
<input type="button" id="3" class="numbers clickable" value="3"></input>
</div>
<div class="wrapOperators">
<input type="button" id="division" class="Operators clickable" value="/"></input>
<input type="button" id="multiplication" class="Operators clickable" value="*"></input>
<input type="button" id="subtraction" class="Operators clickable" value="-"></input>
<input type="button" id="addition" class="Operators clickable" value="+"></input>
</div>
<div class="wrapBottom">
<input type="button" id="equal" class="equal-reset " value="="></input>
<input type="button" id="reset" class="equal-reset " value="Reset"></input>
</div>
</div>
</div>
<script src="./calculator.js"></script>
</body>
</html>