-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (49 loc) · 2.45 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
<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, maximum-scale=1, user-scalable=0">
<title>Mini calculator</title>
<link rel="stylesheet" href="index.css">
<script src="script.js"></script>
<link rel="shortcut icon" type="image/png" sizes="32x32" href="/favicon.png">
</head>
<body>
<main>
<logo class="logo">
<div>
// MINI CALCULATOR
</div>
<span>
Calculate some stuff...
</span>
</logo>
<in>
<div class="inputt">
<input type="text" id="put" class="inn">
<button class="clear" onclick="clr()"><</button>
</div>
<operations class="container-wrapper">
<div class="operation-container">
<input type="button" value="1" onclick="put1('1')" class="numbers">
<input type="button" value="2" onclick="put1('2')" class="numbers">
<input type="button" value="3" onclick="put1('3')" class="numbers">
<input type="button" id="add" onclick="put1('+')"value="+" class="operants">
<input type="button" value="4" onclick="put1('4')" class="numbers">
<input type="button" value="5" onclick="put1('5')" class="numbers">
<input type="button" value="6" onclick="put1('6')" class="numbers">
<input type="button" id="sub" onclick="put1('-')"value="-" class="operants">
<input type="button" value="7" onclick="put1('7')" class="numbers">
<input type="button" value="8" onclick="put1('8')" class="numbers">
<input type="button" value="9" onclick="put1('9')" class="numbers">
<input type="button" id="mul" onclick="put1('*')"value="x" class="operants">
<input type="button" value="." onclick="put1('.')" class="numbers">
<input type="button" value="0" onclick="put1('0')" class="numbers">
<input type="button" id="div" onclick="put1('/')"value="÷" class="operants">
<input type="button" value="=" onclick="solve()" class="equals">
</div>
</operations>
</in>
</main>
</body>
</html>