-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
87 lines (75 loc) · 3.34 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
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./favicons/favicon-16x16.png" />
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pokédex</title>
</head>
<body>
<main>
<!-- Fundo do Pokémon e imagem juntos -->
<div class="fundo">
<div class="pokemon-display">
<img src="tumblr_mufo2kiUze1rsc51fo1_500.gif" alt="fundo animado" class="fundo__gif" />
<img src="#" alt="pokemon" class="pokemon__image" />
</div>
<!-- Quadro de informações do Pokémon -->
<div class="pokemon-content">
<h1 class="pokemon__data">
<span class="pokemon__number"></span> -
<span class="pokemon__name"></span>
</h1>
<form class="form">
<input
type="search"
class="input__search"
placeholder="Nome ou número"
required
/>
</form>
</div>
<!-- Botões de aba -->
<div class="tab-buttons">
<button class="tab-button1" onclick="openTab('general')">Geral</button>
<button class="tab-button2" onclick="openTab('abilities')">Habilidades</button>
<button class="tab-button3" onclick="openTab('evolutions')">Evoluções</button>
<button class="tab-button4" onclick="openTab('description')">Descrição</button>
<button class="tab-button5" onclick="openTab('stats')">Estatísticas</button>
<button class="tab-button6" onclick="openTab('moves')">Movimentos</button>
</div>
</div class="info-card">
<!-- Conteúdo das abas -->
<div id="general" class="tab-content">
<h2 class="pokemon__types"></h2>
</div>
<div id="abilities" class="tab-content" style="display: none">
<h2 class="pokemon__abilities"></h2>
</div>
<div id="evolutions" class="tab-content" style="display: none">
<h2 class="pokemon__evolutions"></h2>
</div>
<div id="description" class="tab-content" style="display: none">
<h2 class="pokemon__description"></h2>
<p class="pokemon__habitat"></p>
<p class="pokemon__color"></p>
</div>
<div id="stats" class="tab-content" style="display: none">
<h2 class="pokemon__stats">Estatísticas</h2>
</div>
<div id="moves" class="tab-content" style="display: none">
<h2 class="pokemon__moves">Movimentos</h2>
</div>
<div>
<!-- Botões de navegação -->
<div class="buttons">
<button class="button btn-prev">Prev <</button>
<button class="button btn-next">Next ></button>
</div>
</div>
</main>
<script defer src="script.js"></script>
</body>
</html>