-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (84 loc) · 3.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Query Selector Playground</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="content-container">
<h1>Query Selector Playground</h1>
<div class="table-group">
<div class="table1">
<h2>Ice Types</h2>
<table border="1" class="ice-table table">
<tr>
<th>Name</th>
<th>Dex Number</th>
<th>Base Stat Total</th>
</tr>
<tr>
<td>Lapras</td>
<td>131</td>
<td>535</td>
</tr>
<tr data-selected="true">
<td>Glaceon</td>
<td>471</td>
<td>525</td>
</tr>
<tr>
<td>Mamoswine</td>
<td>473</td>
<td>530</td>
</tr>
<tr>
<td data-selected="true">Weavile</td>
<td>461</td>
<td>510</td>
</tr>
</table>
</div>
<div class="table2">
<h2>Fire Types</h2>
<table border="1" class="fire-table table">
<tr>
<th>Name</th>
<th>Dex Number</th>
<th>Base Stat Total</th>
</tr>
<tr>
<td data-selected="true">Arcanine</td>
<td>59</td>
<td>555</td>
</tr>
<tr>
<td>Charizard</td>
<td>6</td>
<td>534</td>
</tr>
<tr>
<td>Infernape</td>
<td>392</td>
<td>534</td>
</tr>
<tr data-selected="true">
<td>Talonflame</td>
<td>663</td>
<td>499</td>
</tr>
</table>
</div>
</div>
<div class="button-group">
<button id="selectOdd" onclick="selectOdd(this)">Select Odd Rows</button>
<button id="selectDataAttr" onclick="selectDataAttr(this)">Select using Data Attribute</button>
<button id="selectOnlyIceTypes" onclick="selectOnlyIce(this)">Select Ice Types</button>
<button id="selectStrong" onclick="selectStrong(this)">Select Strong Pokemon</button>
</div>
<p class="selection-description">Click on the buttons below to select various different items in the tables.</p>
</div>
<script src="app.js"></script>
</body>
</html>