Skip to content

Commit 6e7d685

Browse files
[과제 번역] 주요 노드 프로퍼티 과제(Count descendants)의 문제 번역 (#1068)
1 parent acb2268 commit 6e7d685

File tree

1 file changed

+5
-5
lines changed
  • 2-ui/1-document/05-basic-dom-node-properties/2-tree-info

1 file changed

+5
-5
lines changed

2-ui/1-document/05-basic-dom-node-properties/2-tree-info/task.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ importance: 5
22

33
---
44

5-
# Count descendants
5+
# 후손 노드 개수 세기
66

7-
There's a tree structured as nested `ul/li`.
7+
`ul``li` 노드로 구성된 트리 구조 문서가 있다고 가정해봅시다.
88

9-
Write the code that for each `<li>` shows:
9+
`li` 노드 전체를 대상으로 아래와 같은 작업을 하려 합니다. 조건을 만족시킬 수 있는 코드를 작성해보세요.
1010

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.
11+
1. `li` 노드 안에 있는 텍스트를 출력
12+
2. `li` 노드 아래에 있는 모든 `<li>` 태그의 개수를 출력
1313

1414
[demo src="solution"]

0 commit comments

Comments
 (0)