-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (42 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>calculator</title>
<link rel="stylesheet" type="" href="/css/styles.css" >
</head>
<body>
<div class="cal-container">
<div >
<form name="calculator" >
<input
type="text"
name="text"
id="visor"/>
<div class="btn">
<button type="button" value="C" class="espaco" onclick="reset();">C</button>
<button type="button" value="%" onclick="percentage('%');">%</button>
<button type="button" value="<" onclick="back();"><</button>
<button type="button" value="1" onclick=" botao(value);">1</button>
<button type="button" value="2" onclick="botao(value);">2</button>
<button type="button" value="3" onclick="botao(value);">3</button>
<button type="button" value="4" onclick="botao(value);">4</button>
<button type="button" value="5" onclick="botao(value);">5</button>
<button type="button" value="6" onclick="botao(value);">6</button>
<button type="button" value="7" onclick="botao(value);">7</button>
<button type="button" value="8" onclick="botao(value);">8</button>
<button type="button" value="9" onclick="botao(value);">9</button>
<button type="button" value="0" onclick="botao(value);">0</button>
<button type="button" value="/" onclick="botao(value);">/</button>
<button type="button" value="*" onclick="botao(value);">*</button>
<button type="button" value="+" onclick="botao(value);">+</button>
<button type="button" value="," onclick="botao(value);">,</button>
<button type="button" value="-" onclick="botao(value);">-</button>
<button type="button" value="=" onclick="calcular();">=</button>
</div>
</form>
</div>
</div>
<script src="/javascript/script.js"></script>
</body>
</html>