forked from Yourun-proger/CalculatorSite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 2.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="real_calculator_style.css">
<link href="real_calculator_icon.ico" rel="icon" type="image/x-icon" />
<title>Calculator</title>
<script src="real_calculator_script.js"></script>
</head>
<body>
<div class="block">
<div class="heading">CALCULATOR</div>
<div class="table"><p id="num">0</p></div>
<div>
<button class="calcul_button" onclick="return procent_of_x()">%</button>
<button class="calcul_button" onclick="return CE()">CE</button>
<button class="calcul_button" onclick="return clear_all()">C</button>
<button class="calcul_button" onclick="return dlsx()">x</button>
</div>
<div>
<button class="calcul_button" onclick="return one_devide_x()">1/x</button>
<button class="calcul_button" onclick="return square()">x2</button>
<button class="calcul_button" onclick="return sqrt()">√x</button>
<button class="calcul_button" onclick="return devide()">/</button>
</div>
<div>
<button class="calcul_button" onclick="return form_number_7()">7</button>
<button class="calcul_button" onclick="return form_number_8()">8</button>
<button class="calcul_button" onclick="return form_number_9()">9</button>
<button class="calcul_button" onclick="return umng()">*</button>
</div>
<div>
<button class="calcul_button" onclick="return form_number_4()">4</button>
<button class="calcul_button" onclick="return form_number_5()">5</button>
<button class="calcul_button" onclick="return form_number_6()">6</button>
<button class="calcul_button" onclick="return minus()">-</button>
</div>
<div>
<button class="calcul_button" onclick="return form_number_1()">1</button>
<button class="calcul_button" onclick="return form_number_2()">2</button>
<button class="calcul_button" onclick="return form_number_3()">3</button>
<button class="calcul_button" onclick="return add()">+</button>
</div>
<div>
<button class="calcul_button" onclick="return add_minus()">+/-</button>
<button class="calcul_button" onclick="return form_number_0()">0</button>
<button class="calcul_button" onclick="return add_virgule()">,</button>
<button class="calcul_button" onclick="return result()">=</button>
</div>
</div>
<br>
<br>
</body>
</html>