-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 3.49 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
<!DOCTYPE html>
<html lang="pl-PL">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kalkulator</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<main>
<header>
<div id="title"><h1>Kalkulator Prosty</h1></div>
</header>
<section>
<div id="kalkulator">
<header>
<div id="top">
<div id="logo">
<h3>CITIZEN</h3><br>
SLD-200NR
</div>
<div id="over_panel">
<div id="panel"></div>
2 POWER
</div>
</div>
</header>
<div id="ekran">
</div>
<table cellspacing="5">
<tr id="elips">
<td><button onclick="cce()" id="cce" title="ON">C/CE</button></td>
<td><button onclick="off()">OFF</button></td>
<td><button onclick="useOperation('+/-')">±</button></td>
<td><button onclick="useOperation('sqrt')">√</button></td>
<td><button onclick="useOperation('%')">%</button></td>
</tr>
<tr>
<td><button onclick="setVariable(7)">7</button></td>
<td><button onclick="setVariable(8)">8</button></td>
<td><button onclick="setVariable(9)">9</button></td>
<td><button onclick="useOperation('*')">×</button></td>
<td><button onclick="useOperation('/')">÷</button></td>
</tr>
<tr>
<td><button onclick="setVariable(4)">4</button></td>
<td><button onclick="setVariable(5)">5</button></td>
<td><button onclick="setVariable(6)">6</button></td>
<td><button onclick="useOperation('-')">-</button></td>
<td><button onclick="useOperation('mrc')">Mrc</button></td>
</tr>
<tr>
<td><button onclick="setVariable(1)">1</button></td>
<td><button onclick="setVariable(2)">2</button></td>
<td><button onclick="setVariable(3)">3</button></td>
<td rowspan="2" id="row_span2"><button onclick="useOperation('+')">+</button></td>
<td><button onclick="useOperation('m-')">M-</button ></td>
</tr>
<tr>
<td><button onclick="setVariable(0)">0</button></td>
<td><button onclick="useOperation('.')">.</button></td>
<td><button onclick="useOperation('=')">=</button></td>
<td><button onclick="useOperation('m+')">M+</button></td>
</tr>
</table>
</div>
</section>
<section>
<header>
<h2>Historia:</h2>
</header>
<div id="history"></div>
<br/>
</section>
</main>
</body>
</html>