-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (169 loc) · 5.93 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./img/favicon.ico" />
<link
href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap"
rel="stylesheet"
/>
<!--<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/> -->
<link rel="stylesheet" href="./dist/styles.min.css" />
<title>Pokedex</title>
</head>
<body>
<header>
<img src="./img/International_Pokémon_logo.svg" alt="pokemon logo" />
<nav>
<ul role="menubar">
<li role="presentation">
<a role="menuitem" href="index.html">Home</a>
</li>
<li role="presentation">
<a role="menuitem" href="https://pokeapi.co/" target="_blank"
>API</a
>
</li>
<li role="presentation">
<a role="menuitem" href="http://ias-code.de/" target="_blank"
>Portfolio</a
>
</li>
</ul>
</nav>
<!--<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="./img/International_Pokémon_logo.svg" alt="logo" />
</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://pokeapi.co/">API</a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://i-strohmeyer.github.io/Portfolio/"
>Portfolio</a
>
</li>
</ul>
</div>
</div>
</nav> -->
</header>
<main>
<section class="pokemon-list-wrapper">
<!--<h2>Select a Pokemon</h2>
<label for="search">Pokemon</label>
<input id="search" placeholder="Search by name" type="text" /> -->
<h2>List of Pokemon</h2>
<div id="pokemon-list"></div>
</section>
<section class="pokemon-detail-wrapper">
<div id="pokemon-detail">
<span class="current-text">CURRENTLY VIEWING</span>
<h3 id="detail-title">Unknown Pokemon</h3>
<div class="background-wrapper">
<img src="" alt="pokemon" id="detail-img" />
</div>
<div class="outer-stats-wrapper">
<div class="inner-wrapper">
<img src="./img/measurement-icon.svg" alt="" />
<span id="detail-height">Unknown height</span>
</div>
<div class="inner-wrapper">
<img src="./img/kg-measure-weight.svg" alt="" />
<span id="detail-weight">Unknown weight</span>
</div>
</div>
</div>
</section>
<!--<div
class="modal fade"
id="modal"
tabindex="-1"
role="dialog"
aria-labelledby="modal-title"
aria-hidden="true"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal-title">Unknown Pokemon</h5>
<button
type="button"
class="close border-0 rounded"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<img id="modal-img" src="" alt="pokemon" />
<p id="modal-height"></p>
<p id="modal-weight"></p>
</div>
</div>
</div>
</div> -->
<section id="modal">
<div id="modal-content">
<span class="current-text">CURRENTLY VIEWING</span>
<h3 id="modal-title">Unknown Pokemon</h3>
<button id="close">×</button>
<img id="modal-img" src="" alt="pokemon" />
<!--<p id="modal-height">
Select a pokemon from the list to see its details.
</p> -->
<div class="outer-stats-wrapper">
<div class="inner-wrapper">
<img src="./img/measurement-icon.svg" alt="" />
<span id="modal-height">Unknown height</span>
</div>
<div class="inner-wrapper">
<img src="./img/kg-measure-weight.svg" alt="" />
<span id="modal-weight">Unknown weight</span>
</div>
</div>
</div>
</section>
</main>
<script src="./js/promise-polyfill.js"></script>
<script src="./js/fetch-polyfill.js"></script>
<!--<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"
></script> -->
<script src="./dist/scripts.min.js"></script>
</body>
</html>