We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb2268 commit 6e7d685Copy full SHA for 6e7d685
2-ui/1-document/05-basic-dom-node-properties/2-tree-info/task.md
@@ -2,13 +2,13 @@ importance: 5
2
3
---
4
5
-# Count descendants
+# 후손 노드 개수 세기
6
7
-There's a tree structured as nested `ul/li`.
+`ul`과 `li` 노드로 구성된 트리 구조 문서가 있다고 가정해봅시다.
8
9
-Write the code that for each `<li>` shows:
+`li` 노드 전체를 대상으로 아래와 같은 작업을 하려 합니다. 조건을 만족시킬 수 있는 코드를 작성해보세요.
10
11
-1. What's the text inside it (without the subtree)
12
-2. The number of nested `<li>` -- all descendants, including the deeply nested ones.
+1. `li` 노드 안에 있는 텍스트를 출력
+2. `li` 노드 아래에 있는 모든 `<li>` 태그의 개수를 출력
13
14
[demo src="solution"]
0 commit comments