-
Notifications
You must be signed in to change notification settings - Fork 0
/
pokedex.html
56 lines (50 loc) · 2.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>PokéDex</title>
<link href="https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap" rel="stylesheet">
<link href="main.css" rel="stylesheet">
<script src="node_modules/chart.js/dist/chart.umd.js" type="module"></script>
</head>
<body>
<div class="dots-row">
<div class="lense"></div>
<div class="dots red"></div>
<div class="dots yellow"></div>
<div class="dots green"></div>
</div>
<h1>PokéDex</h1>
<form id="search-form">
<input type="text" list="pokemon-list" id="pokemonName" placeholder="Enter Pokémon Name">
<datalist id="pokemon-list">
</datalist>
<button id="search-pokemon">Search</button><br />
</form>
<em id="advisory-text"></em>
<div id="error-container">
<p id="error-text"></p>
</div>
<div id="pokemonData" style="display: none;">
<img id="pokemonImage" src="" alt="Pokémon Image">
<h2 id="pokemonNameDisplay"></h2>
<p id="pokemonType"></p>
<p id="pokemonHeight"></p>
<p id="pokemonWeight"></p>
<p id="pokemonAbilities"></p>
<div id="canvas"></div>
<p id="pokemonBaseExperience"></p>
<p id="pokemonGames"></p>
<p id="pokemonLocations"></p>
<p id="pokemonRegion"></p>
</div>
<footer>
<em>Pokémon are registered trademarks of Nintendo and Game Freak.</em>
<p>Created by <a href="https://www.dantebradshaw.com" target="_blank">Dante Bradshaw</a> | © <span id="year"></span></p>
<p>Powered by <a href="https://pokeapi.co/" target="_blank"><img src="pokeapi.png" width="50" alt="PokeAPI" /></a></p>
</footer>
</body>
<script src="main.js"></script>
</html>