-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (42 loc) · 1.61 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="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>PWA example</title>
<script src="js/index.js" defer></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/normalize.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link rel="manifest" href="manifest.webmanifest">
</head>
<body>
<div class="container-fluid">
<div class="row justify-content-end">
<h1 class="col mt-2">My Pokemon</h1>
</div>
<div id="alert_div" class="row" style="height: 2em"></div>
<div class="row">
<h2>versie 1.4.0</h2>
</div>
<div class="row">
<div class="col mt-3">
<div class="card shadow-sm">
<div class="card-body text-center p-1 mb-3 ">
<h2 class="card-title"><span id="pokemon_id">102</span>. <span id="pokemon_name">Chansey</span></h2>
<p class="card-text">Type: <span id="pokemon_type">psychic</span></p>
<div class="card-img p-0 p-sm-2 p-md-2 w-75 m-auto">
<img id="pokemon_img" src="images/113.png" class="w-75 h-auto" alt="a picture">
</div>
</div>
<div class="card-footer bg-white border-0">
<button class='btn btn-primary w-100'
onclick="showNextPokemon()">next image
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>