-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="calculadora.css" rel="stylesheet">
<script src="calculadora.js"></script>
<title>Calculadora Argentina Programa!</title>
</head>
<body>
<table>
<tr>
<td colspan="4"><button id="result">0</button></td>
</tr>
<tr>
<td><button onclick="add('1')">1</button></td>
<td><button onclick="add('2')">2</button></td>
<td><button onclick="add('3')">3</button></td>
<td><button onclick="add('+')">+</button></td>
</tr>
<tr>
<td><button onclick="add('4')">4</button></td>
<td><button onclick="add('5')">5</button></td>
<td><button onclick="add('6')">6</button></td>
<td><button onclick="add('-')">-</button></td>
</tr>
<tr>
<td><button onclick="add('7')">7</button></td>
<td><button onclick="add('8')">8</button></td>
<td><button onclick="add('9')">9</button></td>
<td><button onclick="add('*')">*</button></td>
</tr>
<tr>
<td colspan="3"><button onclick="add('0')">0</button></td>
<td colspan="3"><button onclick="add('/')">/</button></td>
</tr>
<tr>
<td colspan="2"><button onclick="del()" class="ac">AC</button></td>
<td><button onclick="add('.')">.</button></td>
<td><button onclick="calc()">=</button></td>
</tr>
</table>
</body>
</html>