質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,9 +46,9 @@
|
|
46
46
|
|
47
47
|
<div class="sample_part">
|
48
48
|
|
49
|
-
<h3>
|
49
|
+
<h3>さんプルてきスト</h3>
|
50
|
-
|
50
|
+
|
51
|
-
<p>
|
51
|
+
<p>さんプルてきストさんプルてきストさんプルてきストさんプルてきストさんプルてきストさんプルてきスト</p>
|
52
52
|
|
53
53
|
</div>
|
54
54
|
|
1
変数追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -148,6 +148,14 @@
|
|
148
148
|
|
149
149
|
```js
|
150
150
|
|
151
|
+
const yougo_area = document.getElementById('sample_area');
|
152
|
+
|
153
|
+
const yougo_parts = document.getElementsByClassName('sample_part');
|
154
|
+
|
155
|
+
const input = document.getElementById('search_word');
|
156
|
+
|
157
|
+
|
158
|
+
|
151
159
|
input.addEventListener('input', () => {
|
152
160
|
|
153
161
|
reset();
|