-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
55 lines (50 loc) · 2.42 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>Calculator : Reboot13</title>
<link rel="stylesheet" href="style.css">
<script src="app.js"></script>
</head>
<body>
<div class="container">
<div class="form">
<input type="text" id="eqn" readonly>
</div>
<div class="row">
<div class="cube operators" id="reset" onclick="solveEqn(this.id)">AC</div>
<div class="cube operators" id="modulus" onclick="solveEqn(this.id)">%</div>
<div class="cube operators" id="div" onclick="solveEqn(this.id)">/</div>
<div class="cube operators" id="multiply" onclick="solveEqn(this.id)">X</div>
</div>
<div class="row">
<div class="cube nums" id="7" onclick="solveEqn(this.id)">7</div>
<div class="cube nums" id="8" onclick="solveEqn(this.id)">8</div>
<div class="cube nums" id="9" onclick="solveEqn(this.id)">9</div>
<div class="cube operators" id="sub" onclick="solveEqn(this.id)">-</div>
</div>
<div class="row">
<div class="cube nums" id="4" onclick="solveEqn(this.id)">4</div>
<div class="cube nums" id="5" onclick="solveEqn(this.id)">5</div>
<div class="cube nums" id="6" onclick="solveEqn(this.id)">6</div>
<div class="cube operators plus" id="plus" onclick="solveEqn(this.id)">+</div>
</div>
<div class="row position">
<div class="cube nums" id="1" onclick="solveEqn(this.id)">1</div>
<div class="cube nums" id="2" onclick="solveEqn(this.id)">2</div>
<div class="cube nums" id="3" onclick="solveEqn(this.id)">3</div>
</div>
<div class="row position">
<div class="cube nums" id="00" onclick="solveEqn(this.id)">00</div>
<div class="cube nums" id="0" onclick="solveEqn(this.id)">0</div>
<div class="cube nums" id="point" onclick="solveEqn(this.id)">.</div>
<div class="cube operators equal" id="equal" onclick="solveEqn(this.id)">=</div>
</div>
<center>
<p class="position"><a href="https://github.com/reboot13-git/calc">©reboot13-git/calc</a></p>
</center>
</div>
</body>
</html>