質問編集履歴
1
テーブルにidを追加、trにクラスを指定
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,22 +27,22 @@
|
|
27
27
|
```html
|
28
28
|
<input type="checkbox" onChange="goFilter()" id="chkFruit">
|
29
29
|
<input type="checkbox" onChange="goFilter()" id="chkOrange">
|
30
|
-
<table>
|
30
|
+
<table id="cardList">
|
31
31
|
<tr class="colTitle">
|
32
32
|
<th>名前</th>
|
33
33
|
<th>色</th>
|
34
34
|
<th>種類</th>
|
35
|
-
<tr orange fruit>
|
35
|
+
<tr class="orange fruit">
|
36
36
|
<td>みかん</td>
|
37
37
|
<td>オレンジ</td>
|
38
38
|
<td>果物</td>
|
39
39
|
</tr>
|
40
|
-
<tr red fruit>
|
40
|
+
<tr class="red fruit">
|
41
41
|
<td>りんご</td>
|
42
42
|
<td>赤</td>
|
43
43
|
<td>果物</td>
|
44
44
|
</tr>
|
45
|
-
<tr orange vegetable>
|
45
|
+
<tr class="orange vegetable">
|
46
46
|
<td>にんじん</td>
|
47
47
|
<td>オレンジ</td>
|
48
48
|
<td>野菜</td>
|