Skip to content

Commit dae360b

Browse files
marco0332Violet-Bora-Lee
authored andcommitted
[문서 수정하기] 누락부분 번역
1 parent e00392f commit dae360b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

2-ui/1-document/07-modifying-document/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,21 @@ div.innerHTML = "<strong>안녕하세요!</strong> 중요 메시지를 확인하
9797
</script>
9898
```
9999

100-
Here we called `append` on `document.body`, but we can call `append` method on any other element, to put another element into it. For instance, we can append something to `<div>` by calling `div.append(anotherElement)`.
100+
여기서는 `document.body`에서 `append`를 호출했지만 다른 요소에서도 `append` 메서드를 호출해서 또 다른 요소를 넣을 수 있습니다. 예를 들어 `div.append(anotherElement)`를 호출해서 `<div>`에 무언가를 추가할 수 있습니다.
101101

102-
Here are more insertion methods, they specify different places where to insert:
102+
다음은 각자 다른 위치에 삽입하도록 지정하는 다른 삽입 메서드입니다.
103103

104104
- `node.append(...nodes or strings)` -- 노드나 문자열을 `node` **에 삽입합니다.
105105
- `node.prepend(...nodes or strings)` -- 노드나 문자열을 `node` *맨 앞*에 삽입합니다.
106106
- `node.before(...nodes or strings)` –- 노드나 문자열을 `node` *이전*에 삽입합니다.
107107
- `node.after(...nodes or strings)` –- 노드나 문자열을 `node` *다음*에 삽입합니다.
108108
- `node.replaceWith(...nodes or strings)` –- `node`를 새로운 노드나 문자열로 대체합니다.
109109

110-
Arguments of these methods are an arbitrary list of DOM nodes to insert, or text strings (that become text nodes automatically).
110+
삽입 메서드에 들어가는 인수는 추가할 DOM 노드 임의 목록 또는 텍스트 문자열입니다(자동으로 텍스트 노드가 됨).
111111

112-
Let's see them in action.
112+
이러한 메서드들이 어떻게 동작하는지 살펴보겠습니다.
113113

114-
Here's an example of using these methods to add items to a list and the text before/after it:
114+
아래는 삽입 메서드를 사용해서 목록에 항목을 추가하고 앞·뒤로 텍스트를 덧붙이는 예제입니다.
115115

116116
```html autorun
117117
<ol id="ol">

0 commit comments

Comments
 (0)