-
Notifications
You must be signed in to change notification settings - Fork 1
/
pokedex.html
84 lines (78 loc) · 4.97 KB
/
pokedex.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pokedex</title>
<link rel="shortcut icon" type="x-icon" href="icons/Pokedex.png">
<link rel="stylesheet" href="pokedex.css">
<script src="pokedex.js"></script>
</head>
<body>
<div class="preloader"></div>
<div class="blu">
<img src="blueball.png" id="blue">
</div>
<div id="content-box">
<!-- Left Side, display pokemon info -->
<div id="pokemon-info">
<!-- <img id="pokemon-img" src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png"> -->
<img id="pokemon-img" src= "https://assets.pokemon.com/assets/cms2/img/pokedex/detail/001.png">
<div id="pokemon-types">
<span class="type-box grass">GRASS</span><span class="type-box poison">POISON</span>
</div>
<div id="pokemon-description"></div>
</div>
</div>
<!-- Right side, display pokemon list -->
<div id="pokemon-list">
</div>
</div>
<div class="circle1">
<p>Browse among all 300 pokemons!!!</p>
<h2>CATCH 'EM ALL!</h2>
</div>
<div class="circle2">
<p>
Scroll down to see the features of any pokemon you want!!!
</p>
</div>
<div>
<img src="charizard.gif" id="char">
</div>
<div class="map">
<h2></h2>
</div>
<div class="sit">
<img src="sitting.png" id="pika">
</div>
<header>
<div class="home">
<ul>
<li><a href="../index.html ">Home</a></li>
</ul>
</div>
</header>
<!--to aincrease loading time-->
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="0" height="0" src="https://www.youtube.com/embed/_OLrjAWzUR0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<script>
window.addEventListener("load",() => {
const loader = document.querySelector(".preloader");
loader.classList.add("preloader--hidden");
//loader.style.display = "none";//
loader.addEventListener("transitioned", () => {
documnent.body.removeChild(loader);
});
})
</script>
</body>
</html>