-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (116 loc) · 4.6 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" />
<title>Periodic Table</title>
</head>
<body>
<main>
<div class="laoding">
<!-- We have to declare some variables. -->
<span style="--i:1"></span>
<span style="--i:2"></span>
<span style="--i:3"></span>
<span style="--i:4"></span>
<span style="--i:5"></span>
<span style="--i:6"></span>
<span style="--i:7"></span>
<span style="--i:8"></span>
<span style="--i:9"></span>
<span style="--i:10"></span>
<span style="--i:11"></span>
<span style="--i:12"></span>
<span style="--i:13"></span>
<span style="--i:14"></span>
<span style="--i:15"></span>
<span style="--i:16"></span>
<span style="--i:17"></span>
<span style="--i:18"></span>
<span style="--i:19"></span>
<span style="--i:20"></span>
</div>
<div id="selectedElement">
<p id="selectedElementName"></p>
</div>
<div id="block-selector">
<div class="box p"></div>
<div id="select-p-block">p-block</div>
<div class="box s"></div>
<div id="select-s-block">s-block</div>
<div class="box f"></div>
<div id="select-f-block">f-block</div>
<div class="box d"></div>
<div id="select-d-block">d-block</div>
</div>
<div id="main-grid">
</div>
<div id="popup1" class="overlay">
<div class="popup">
<div id="popup-header">
<h2 id="element-name"></h2>
<p id="block-name"></p>
</div>
<a class="close" href="#">×</a>
<div class="content">
<p>Atomic Number</p>
<p id="atomicNumber"></p>
<p>Atomic Mass</p>
<p id="atomicMass"></p>
<p>Group</p>
<p id="group"></p>
<p>Period</p>
<p id="period"></p>
<p>Electronic Configuration</p>
<p id="electronicConfiguration"></p>
<p>Electronegativity</p>
<p id="electronegativity">X</p>
<p>Atomic Radius</p>
<p id="atomicRadius"></p>
<p>Ion Radius</p>
<p id="ionRadius"></p>
<p>VanDerWaals Radius</p>
<p id="vanDerWaalsRadius"></p>
<p>Ionization Energy</p>
<p id="ionizationEnergy"></p>
<p>Electron Affinity</p>
<p id="electronAffinity"></p>
<p>Oxidation States</p>
<p id="oxidationStates"></p>
<p>Standard State</p>
<p id="standardState"></p>
<p>Bonding Type</p>
<p id="bondingType"></p>
<p>Melting Point</p>
<p id="meltingPoint"></p>
<p>Boiling Point</p>
<p id="boilingPoint"></p>
<p>Density</p>
<p id="density"></p>
<p>Group Block</p>
<p id="groupBlock"></p>
<p>yearDiscovered</p>
<p id="yearDiscovered">X</p>
</div>
</div>
</div>
<div id="element-selector">
<div id="alkaline-earth-metal">Alkaline Earth Metals</div>
<div id="alkali-metal">Alkali Metals</div>
<div id="nonmetal">Nonmetals</div>
<div id="metals">Metals</div>
<div id="transition-metal">Transition Metals</div>
<div id="post-transition-metal">Post Transition Metals</div>
<div id="halogen">Halogens</div>
<div id="noble-gas">Noble Gases</div>
<div id="metalloids">Metalloids</div>
<div id="lanthanoid">Lanthenides</div>
<div id="actinoid">Actinides</div>
</div>
<script src="https://requirejs.org/docs/release/2.3.5/minified/require.js"></script>
<script type="text/javascript" src="index.js"></script>
</main>
</body>
</html>