Skip to content

Commit 299ed0f

Browse files
authored
Update index.html
1 parent 4b02949 commit 299ed0f

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/04-searching-elements-dom/2-tree-info/solution.view

1 file changed

+1
-1
lines changed

2-ui/1-document/04-searching-elements-dom/2-tree-info/solution.view/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</ul>
4141

4242
<script>
43-
for (let li of document.querySelector('li')) {
43+
for (let li of document.querySelectorAll('li')) {
4444
// get the title from the text node
4545
let title = li.firstChild.data;
4646

0 commit comments

Comments
 (0)