-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (42 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pikapi</title>
<meta charset="utf-8" />
<link rel="icon" href="favicon.png" />
<meta name="description" content="example" />
<link rel="stylesheet" href="example.css" />
<script type="text/javascript" src="./fetchPokemon.js"></script>
<script>
window.onload = fetchRandomPokemon();
</script>
</head>
<body>
<h1>Pikapi</h1>
<div style="width: 100%">
<table>
<tr>
<th>Pokemon</th>
<th>Base stat total</th>
<th>Type</th>
<th>Sprite</th>
</tr>
<tr>
<td id="name">loading...</td>
<td id="baseStatTotal">loading...</td>
<td id="type">loading...</td>
<td>
<img
id="sprite1"
src="loading..."
width="150px"
height="150px"
alt="loading..."
/>
</td>
</tr>
</table>
<p>Load pokemon client side on each refresh.</p>
</div>
</body>
</html>