-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (33 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pokédex</title>
<!-- Links -->
<link rel="icon" href="./favicons/Pokeball_icon-icons.com_67533.ico">
<link rel="stylesheet" href="./css/style.css">
<!-- Main javascript -->
<script defer src="./js/script.js"></script>
</head>
<body>
<main>
<img src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/animated/222.gif"
alt="pokémon gif at the center of pokédex" class="pokemon-gif">
<h1 class="pokemon-data">
<span class="pokemon-id">222</span>
<span class="poke-separator">-</span>
<span class="pokemon-name">corsola</span>
</h1>
<form class="pokemon-form">
<input type="search" class="pokemon-input-search" placeholder="Name or ID" required />
</form>
<div class="pokemon-buttons">
<!-- greather than and less than (> <) > Prev and Next pokes -->
<button class="poke-button button-prev">Prev ⪅</button>
<button class="poke-button button-next">Next ⪆</button>
</div>
<img src="./images/pokedex.png" alt="image of a pokedex" class="pokedex">
</main>
</body>
</html>