-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
55 lines (54 loc) · 2.21 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
46
47
48
49
50
51
52
53
54
55
<!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>Simple Calculator</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="icon" href="outline_calculate_black_36dp.png">
<link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet">
</head>
<body>
<div class="container ">
<div class="small-container display">
<div id="calculation"></div>
<div id="output"></div>
</div>
<div class="small-container numpad">
<div class="row">
<button data-clear class="operator row-1" id="clear">AC</button>
<button data-delete class="operator row-1" id="back"><i class="material-icons-outlined">backspace</i></button>
<button data-operation class="operator row-1" id="%">%</button>
<button data-operation class="operator devide" id="/">/</button>
</div>
<div class="row">
<button data-number class="number">7</button>
<button data-number class="number">8</button>
<button data-number class="number" >9</button>
<button data-operation class="operator mul" id='*'>✕</button>
</div>
<div class="row">
<button data-number class="number" >4</button>
<button data-number class="number" >5</button>
<button data-number class="number" >6</button>
<button data-operation class="operator minus" id='-'>−</button>
</div>
<div class="row">
<button data-number class="number" >1</button>
<button data-number class="number" >2</button>
<button data-number class="number" >3</button>
<button data-operation class="operator plus" id='+'>+</button>
</div>
<div class="row">
<button class="operator "></button>
<button data-number class="number" >0</button>
<button data-number class="number float">.</button>
<button data-equal class="operator equal" id="=">=</button>
</div>
</div>
</div>
<script src="script.js" type="text/javascript" ></script>
</body>
</html>