forked from CursosWeb/X-Nav-Practica-Calculadora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 2.04 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
56
57
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SPA Calculator</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="jquery-3.1.1.js"></script>
<script type="text/javascript" src="calcu.js"></script>
</head>
<body>
<div id="calculator">
<div class="screen">
<span id="ret"></span>
</div>
<table class="keyboard">
<tr>
<th><span class="button number" id="0">0</span></th>
<th><span class="button number" id="1">1</span></th>
<th><span class="button number" id="2">2</span></th>
</tr>
<tr>
<th><span class="button number" id="3">3</span></th>
<th><span class="button number" id="4">4</span></th>
<th><span class="button number" id="5">5</span></th>
</tr>
<tr>
<th><span class="button number" id="6">6</span></th>
<th><span class="button number" id="7">7</span></th>
<th><span class="button number" id="8">8</span></th>
</tr>
<tr>
<th><span class="button number" id="9">9</span></th>
<th><span class="button number" id=".">.</span></th>
</tr>
<tr>
<th><span class="button execOperator" id="<-"><-</span></th>
<th><span class="button execOperator" id="c">C</span></th>
<th><span class="button execOperator" id="=">=</span></th>
</tr>
<tr>
<th><span class="button simpleOperator" id="+">+</span></th>
<th><span class="button simpleOperator" id="-">-</span></th>
<th><span class="button simpleOperator" id="*">*</span></th>
</tr>
<tr>
<th><span class="button simpleOperator" id="/">/</span></th>
<th><span class="button execOperator" id="neg">+-</span></th>
</tr>
</table>
</div>
</body>
</html>