-
Notifications
You must be signed in to change notification settings - Fork 0
/
celinaTest.html
47 lines (38 loc) · 2.22 KB
/
celinaTest.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
<!DOCTYPE html>
<html>
<head>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://unpkg.com/pokeapi-js-wrapper/dist/index.js"></script>
<script src="celinaTest.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body class="background" onload="main()">
<a href="index.html" class="button">Home</a>
<table class="buttonTable">
<tr>
<th>
<button class="btnSize" onclick="sortData('bug')">Show me Bug types!</button>
<button class="btnSize" onclick="sortData('dragon')">Show me Dragon types!</button>
<button class="btnSize" onclick="sortData('electric')">Show me Electric types!</button>
<button class="btnSize" onclick="sortData('fighting')">Show me Fighting types!</button>
<button class="btnSize" onclick="sortData('fire')">Show me Fire types!</button>
<button class="btnSize" onclick="sortData('ghost')">Show me Ghost types!</button>
<button class="btnSize" onclick="sortData('grass')">Show me Grass types!</button>
<button class="btnSize" onclick="sortData('ground')">Show me Ground types!</button>
<button class="btnSize" onclick="sortData('ice')">Show me Ice types!</button>
<button class="btnSize" onclick="sortData('normal')">Show me Normal types!</button>
<button class="btnSize" onclick="sortData('poison')">Show me Poison types!</button>
<button class="btnSize" onclick="sortData('psychic')">Show me Psychic types!</button>
<button class="btnSize" onclick="sortData('rock')">Show me Rock types!</button>
<button class="btnSize" onclick="sortData('water')">Show me Water types!</button>
<button class="btnSize" onclick="sortData('fairy')">Show me Fairy types!</button>
</th>
</tr>
<tr>
</tr>
</table>
<div> Display of pokemon and their HP
<div id = "chart"> </div>
</div>
</body>
</html>