-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (57 loc) · 2.6 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/img/icon.png" />
<title>Calculadora</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<table class="calculadora">
<tr>
<td class="resultados">
<div class="cuent">
<input class="box" type="text" id="cuenta" value="0" disabled />
<input class="box" type="text" id="resultado" disabled />
</div>
<div>
<!--Borrar-->
<input id="c" class="button" type="button" value="C" onclick="borrar()" />
<input id="s" class="button" type="button" value="/" onclick="boton('/')" />
<input id="borrarNumero" class="button" type="button" value="CE" onclick="borrarNumero()" />
</div>
</td>
</tr>
<tr>
<td>
<input id="uno" class="button" type="button" value="1" onclick="boton('1')" />
<input class="button" type="button" value="2" onclick="boton('2')" />
<input class="button" type="button" value="3" onclick="boton('3')" />
<input id="s" class="button" type="button" value="-" onclick="boton('-')" />
</td>
</tr>
<tr>
<td>
<input id="cuatro" class="button" type="button" value="4" onclick="boton('4')" />
<input class="button" type="button" value="5" onclick="boton('5')" />
<input class="button" type="button" value="6" onclick="boton('6')" />
<input id="s" class="button" type="button" value="+" onclick="boton('+')" />
</td>
</tr>
<tr>
<td class="l">
<div class="sig">
<input id="siete" class="button" type="button" value="7" onclick="boton('7')" />
<input class="button" type="button" value="8" onclick="boton('8')" />
<input class="button" type="button" value="9" onclick="boton('9')" />
<input id="s" class="button" type="button" value="X" onclick="boton('*')" />
<input id="boton" class="button" type="button" value="0" onclick="boton('0')" />
<input id="s" class="button" type="button" value="." onclick="boton('.')" />
<input id="result" class="button" type="button" value="=" onclick="calculo()" />
</div>
</td>
</tr>
</table>
<script src="app.js"></script>
</body>
</html>