-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (41 loc) · 3.58 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pokedex</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/global.css">
<link rel="stylesheet" href="assets/css/pokedex.css">
<link rel="stylesheet" href="assets/css/typescolor.css">
</head>
<body>
<header class="title">
<a href="index.html" class="link"><img src="./assets/images/Pokédex_logo.png" alt="Logo da Pokedex"></a>
</header>
<div class="pesquisar">
<div id="pesquisar" class="pesquisar-content">
<input id="pokeInfo" type="email" placeholder="Digite o nome ou o número">
<button onclick="getPokemon()" id="find" class="pesquisar-botao"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="30" height="30" viewBox="0,0,256,256">
<g fill="#ffffff" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><g transform="scale(2,2)"><path d="M56.59961,21.59961c-22.5,0 -40.79883,18.50117 -40.79883,41.20117c0,22.8 18.29883,41.19922 40.79883,41.19922c10.3,0 19.70039,-3.90078 26.90039,-10.30078l2.30078,2.30078l-2.10156,2.19922c-1.2,1.2 -1.2,3.10078 0,4.30078l18,18.19922c0.6,0.6 1.30156,0.90039 2.10156,0.90039c0.8,0 1.59961,-0.30039 2.09961,-0.90039l8,-8.09961c1.1,-1.2 1.10039,-3.09922 -0.09961,-4.19922l-18,-18.20117c-0.6,-0.6 -1.30156,-0.89844 -2.10156,-0.89844c-0.8,0 -1.59961,0.29844 -2.09961,0.89844l-2.09961,2.20117l-2.30078,-2.40039c6.3,-7.3 10.20117,-16.79922 10.20117,-27.19922c0,-22.7 -18.30078,-41.20117 -40.80078,-41.20117zM56.59961,27.69922c19.2,0 34.80078,15.80117 34.80078,35.20117c0,19.4 -15.60078,35.09961 -34.80078,35.09961c-19.2,0 -34.79883,-15.69961 -34.79883,-35.09961c0,-19.4 15.59883,-35.20117 34.79883,-35.20117zM56.69922,40.19922c-9.5,0 -17.99922,6.10156 -21.19922,15.10156c-0.5,1.3 0.19961,2.89883 1.59961,3.29883c0.3,0.1 0.60039,0.20117 0.90039,0.20117c1.1,0 2.1,-0.70078 2.5,-1.80078c2.4,-6.9 8.99922,-11.59961 16.19922,-11.59961c1.4,0 2.60156,-1.19961 2.60156,-2.59961c0,-1.4 -1.20156,-2.60156 -2.60156,-2.60156zM37.69922,64.90039c-1.4,0 -2.59961,1.09961 -2.59961,2.59961v0.40039c0.1,1.4 1.20117,2.59961 2.70117,2.59961c1.4,0 2.59961,-1.19961 2.59961,-2.59961v-0.30078c0,-1.5 -1.09961,-2.69922 -2.59961,-2.69922zM93.80078,96.59961l13.79883,14l-3.79883,3.80078l-13.80078,-14z"></path></g></g>
</svg></button>
</div>
<label id="error" class="error" for="pesquisar"></label>
</div>
<section class="content">
<ol id="pokemonList" class="pokemons">
</ol>
</section>
<div class="pagination">
<button id="load" type="button">
. . .
</button>
</div>
<script src="assets/js/pokemon.js"></script>
<script src="assets/js/pokeapi.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>