-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
101 lines (95 loc) · 2.74 KB
/
index2.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable = no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title dir="ltr">WTF</title>
<style>
input, select, .result {
width: 40px;
font-size:30px;
text-align: center;
}
.operator, .result {
text-align: center;
width: 80px;
}
input#result {
border: 2px solid green;
color: green;
}
</style>
</head>
<body>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
</select>
<input type="text" value="1" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="2" readonly>
<select class="operator" maxlength="1" type="text" disabled>
<option selected>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="3" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="4" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="5" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="6" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="7" readonly>
<select class="operator" maxlength="1" type="text" disabled>
<option>+</option>
<option selected>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="8" readonly>
<select class="operator" maxlength="1" type="text">
<option>+</option>
<option>-</option>
<option>*</option>
<option>/</option>
</select>
<input type="text" value="9" readonly>
<input class="result" maxlength="1" type="text" value="=" id="equal" readonly>
<input class="result" style="width: 100px;" maxlength="1" type="text" value="" id="result" readonly>
<br/>
<button type="button" id="calculate">Calcular</button>
<script src="js/jquery.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>