Skip to content

Commit c931655

Browse files
committed
Fix typo.
1 parent f49c5b8 commit c931655

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/user-guide/dom.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ dom.body.append(
205205
```
206206

207207
This example demonstrates a declaritive way to add elements to the body of the
208-
DOM. Notice how the first (unnamed) arguments to an element are its child. The
209-
named arguments (such as `id`, `classes` and `style`) refer to attributes of
210-
the underlying HTML element. If you'd rather be explicit about the children of
211-
an element, you can always pass in a list of such elements as the named
208+
DOM. Notice how the first (unnamed) arguments to an element are its children.
209+
The named arguments (such as `id`, `classes` and `style`) refer to attributes
210+
of the underlying HTML element. If you'd rather be explicit about the children
211+
of an element, you can always pass in a list of such elements as the named
212212
`children` argument (you see this in the final `div` in the example above).
213213

214214
Of course, you can achieve similar results in an imperative style of

0 commit comments

Comments
 (0)