-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (105 loc) · 4.9 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title id="page-title">Geometry Calculators</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="logo.png">
</head>
<body>
<div class="page-content">
<div class="content">
<div class="container">
<div class="glassmorphism">
<img onclick="TH_lang()" class="lang-img" src="TH.png">
</div>
<div class="glassmorphism">
<h1 id="title">Geometry Calculators</h1>
</div>
<div class="glassmorphism">
<img onclick="EN_lang()" class="lang-img" src="EN.png">
</div>
</div>
</div>
<div class="content">
<div class="container">
<div class="glassmorphism">
<h1 class="change-dimension" onclick="two_dimension()">2D</h1>
</div>
<div class="glassmorphism">
<h1 id="name">Circle</h1>
</div>
<div class="glassmorphism">
<h1 class="change-dimension" onclick="three_dimension()">3D</h1>
</div>
</div>
</div>
<div class="content">
<div class="container">
<div class="glassmorphism">
<h1 class="change-dimension" onclick="change_shape_left()">-</h1>
</div>
<div class="glassmorphism">
<div><img id="shape-img" src="circle-en.png"></div>
</div>
<div class="glassmorphism">
<h1 class="change-dimension" onclick="change_shape_right()">+</h1>
</div>
</div>
</div>
<div class="content">
<div class="container-2">
<div class="glassmorphism">
<h1 class="change-formula" id="formula-left" onclick="change_formula_left()">Area</h1>
</div>
<div class="glassmorphism">
<div>
<h1 class="formula" id="formula-topic">Area Formula: π r ²</h1>
<h1 class="formula" id="formula-detail">{ ( 22 / 7 ) × Radius × Radius }</h1>
<form id="input-form">
<h1 class="formula"></h1>
<label class="formula" for="input_1">Radius ( r ) : </label><br>
<input class="formula" type="number" id="input_1" name="input_1" min="0"><br>
<h1 class="gap-1"></h1>
</form>
<button class="formula" onclick="calculator()">Calculate</button>
</div>
</div>
<div class="glassmorphism">
<h1 class="formula" id="solution">Solution:</h1>
<h1 class="gap-2"></h1>
<div id="solution-box">
<h1 class="formula" id="formula-1"></h1>
<h1 class="formula" id="formula-2"></h1>
<h1 class="formula" id="formula-3"></h1>
<h1 class="formula" id="formula-4"></h1>
<h1 class="formula" id="formula-5"></h1>
<h1 class="formula"></h1>
<h1 class="formula"></h1>
<h1 class="formula"></h1>
<h1 class="formula"></h1>
<h1 class="formula"></h1>
</div>
</div>
<div class="glassmorphism">
<h1 class="formula" id="result">Result:</h1>
<div id="result-box">
<h1 class="result"></h1>
<h1 class="result" id="result-1"></h1>
<h1 class="result"></h1>
<h1 class="formula"></h1>
<h1 class="result"></h1>
<h1 class="result"></h1>
<h1 class="gap-1"></h1>
</div>
</div>
<div class="glassmorphism">
<h1 class="change-formula" id="formula-right" onclick="change_formula_right()">Circumference</h1>
</div>
</div>
</div>
</div>
</body>
<script src="app.js"></script>
</html>