-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (72 loc) · 2.86 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
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./index.css">
<title>Calculadorinha</title>
</head>
<body>
<table class="table rounded">
<tbody>
<tr rowspan="2">
<td class="text-center">In</td>
<td colspan="4">
<input
id="display"
class="rounded text-right input w-100"
disabled="disabled"
maxlength="18"
name="tela"
type="text"
/>
</td>
</tr>
<tr>
<td class="text-center">Out</td>
<td colspan="4">
<input
id="output"
class="rounded input w-100 text-right"
disabled="disabled"
maxlength="18"
name="tela"
type="text"
>
</td>
</tr>
<tr class="teclado text-center">
<td><input name="1" class="number" type="button" value="1" /></td>
<td><input name="2" class="number" type="button" value="2" /></td>
<td><input name="3" class="number" type="button" value="3" /></td>
<td><input name="-" class="operator" type="button" value="-" /></td>
</tr>
<tr class="teclado text-center">
<td><input name="4" class="number" type="button" value="4" /></td>
<td><input name="5" class="number" type="button" value="5" /></td>
<td><input name="6" class="number" type="button" value="6" /></td>
<td><input name="*" class="operator" type="button" value="*" /></td>
</tr>
<tr class="teclado text-center">
<td><input name="1" class="number" type="button" value="7" /></td>
<td><input name="8" class="number" type="button" value="8" /></td>
<td><input name="9" class="number" type="button" value="9" /></td>
<td><input name="/" class="operator" type="button" value="/" /></td>
</tr>
<tr class="teclado text-center">
<td><input name="0" class="number" type="button" value=" 0 " /></td>
<td><input name="." class="rounded dot" type="button" value="." /></td>
<td><input class="rounded clean" name="clean" type="button" value="C" /></td>
<td><input name="+" class="operator" type="button" value="+" /></td>
</tr>
<tr class="teclado text-center">
<td colspan="4" class="text-right">
<input name="=" class="operator w-100" type="button" value="=" />
</td>
</tr>
</tbody>
</table>
<script src="index.js"></script>
</body>
</html>