-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (93 loc) · 4.03 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<head>
<title>George</title>
<script src="./src/solve.js"></script>
<script src="./src/foot.js"></script>
<link rel="stylesheet" href="./src/styles/styles.css">
</head>
<body>
<div class="main">
<div class="calculator">
<div class="calculator__display">
<p id="calculator__display-display">CALCULATOR</p>
</div>
<div class="calculator__numbers">
<div class="calculator__numbers--div">
<p class="calculator__numbers-button" id="calculator__numbers-turn_on"> </p>
<p class="calculator__numbers-button" id="calculator__numbers-left_bracket"> </p>
<p class="calculator__numbers-button" id="calculator__numbers-right_bracket"> </p>
<p class="calculator__numbers-button"
id="calculator__numbers-clear"
onclick="clearNumbers()">C</p>
</div>
<div class="calculator__numbers--div">
<p class="calculator__numbers-button"
id="calculator__numbers-seven"
onclick="getNumbers(inputNumberSeven, 'calculator__numbers-seven')">7</p>
<p class="calculator__numbers-button"
id="calculator__numbers-eight"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-eight')">8</p>
<p class="calculator__numbers-button"
id="calculator__numbers-nine"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-nine')">9</p>
<p class="calculator__numbers-button"
id="calculator__numbers-divide"
onclick="getSymbols(inputSymbolDivide, 'calculator__numbers-divide')">/</p>
</div>
<div class="calculator__numbers--div">
<p class="calculator__numbers-button"
id="calculator__numbers-four"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-four')">4</p>
<p class="calculator__numbers-button"
id="calculator__numbers-five"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-five')">5</p>
<p class="calculator__numbers-button"
id="calculator__numbers-six"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-six')">6</p>
<p class="calculator__numbers-button"
id="calculator__numbers-multiply"
onclick="getSymbols(inputSymbolDivide, 'calculator__numbers-multiply')">*</p>
</div>
<div class="calculator__numbers--div">
<p class="calculator__numbers-button"
id="calculator__numbers-one"
onclick="getNumbers(inputNumberOne, 'calculator__numbers-one')">1</p>
<p class="calculator__numbers-button"
id="calculator__numbers-two"
onclick="getNumbers(inputNumberTwo, 'calculator__numbers-two')">2</p>
<p class="calculator__numbers-button"
id="calculator__numbers-three"
onclick="getNumbers(inputNumberThree, 'calculator__numbers-three')">3</p>
<p class="calculator__numbers-button"
id="calculator__numbers-minus"
onclick="getSymbols(inputSymbolDivide, 'calculator__numbers-minus')">-</p>
</div>
<div class="calculator__numbers--div">
<p class="calculator__numbers-button"
id="calculator__numbers-zero"
onclick="getNumbers(inputNumberZero, 'calculator__numbers-zero')">0</p>
<p class="calculator__numbers-button"
id="calculator__numbers-dot"
onclick="getNumbers(inputSymbolDot, 'calculator__numbers-dot')">.</p>
<p class="calculator__numbers-button"
id="calculator__numbers-equals"
onclick="Equals()">
=</p>
<p class="calculator__numbers-button"
id="calculator__numbers-plus"
onclick="getSymbols(inputSymbolPlus, 'calculator__numbers-plus')">+</p>
</div>
</div>
</div>
</div>
<footer id="footer">
<p class="footer__copyleft" id="footer__copyleft" onclick="footerCopyleft()">Copyleft (c) RodionMern (Rofionenko)</p>
<ul class="footer__links">
<li><a href="https://github.com/rodionmern/rodionmern.github.io/">web-site</a></li>
<li><a href="https://github.com/rodionmern/gnush/">gnush</a></li>
<li><a href="https://github.com/rodionmern/old-js-calculator/">old-js-calculator</a></li>
</ul>
</footer>
</body>
</html>