-
Notifications
You must be signed in to change notification settings - Fork 24
/
index.html
79 lines (71 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
/>
<link rel="icon" href="./Icons/pokeball.png" type="image/x-icon">
<title>Pokedex</title>
</head>
<body>
<div id="page">
<div class="header">
<div class="logo">
<img class="img" src="./Icons/default/pokeball.png" alt="logo" />
</div>
<div class="box">
<input
id="searchbar"
onkeyup="search_pokemon()"
type="text"
placeholder="Search"
/>
</div>
<div class="features">
<div class="darkmode-container">
<div class="darkmode-content">
<span class="darkmode-text">Dark Mode</span>
<i class="fa-solid fa-toggle-off" id="dark"></i>
</div>
</div>
<div class="github">
<a href="https://github.com/lazyjinchuriki/pokedex" target="_blank"
><i class="github-icon fab fa-github"></i
></a>
</div>
</div>
</div>
<div class="select-wrapper">
<div class="regions" id="regionSelect">
<span data-value="kanto" class="active regionvalue">Kanto</span>
<span data-value="johto" class="regionvalue">Johto</span>
<span data-value="hoenn" class="regionvalue">Hoenn</span>
<span data-value="sinnoh" class="regionvalue">Sinnoh</span>
<span data-value="unova" class="regionvalue">Unova</span>
<span data-value="kalos" class="regionvalue">Kalos</span>
<span data-value="alola" class="regionvalue">Alola</span>
<span data-value="galar" class="regionvalue">Galar</span>
<span data-value="hisui" class="regionvalue">Hisui</span>
<span data-value="paldea" class="regionvalue">Paldea</span>
</div>
</div>
<div class="poke-container" id="poke-container"></div>
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<button id="scrollToTopBtn"><i class="fas fa-chevron-up"></i></button>
<button id="scrollToDownBtn"><i class="fas fa-chevron-down"></i></button>
</div>
<!-- Design inspired by this Dribbble shot: https://dribbble.com/shots/5611109--Pokemon -->
<script src="script.js"></script>
<script src="https://kit.fontawesome.com/919bc986f5.js" crossorigin="anonymous"></script>
<!-- <script src="new.js"></script> -->
</body>
</html>