diff --git a/2-ui/1-document/05-basic-dom-node-properties/3-tag-in-comment/solution.md b/2-ui/1-document/05-basic-dom-node-properties/3-tag-in-comment/solution.md index 89b76cfd..32900a78 100644 --- a/2-ui/1-document/05-basic-dom-node-properties/3-tag-in-comment/solution.md +++ b/2-ui/1-document/05-basic-dom-node-properties/3-tag-in-comment/solution.md @@ -12,6 +12,6 @@ The answer: **`BODY`**. What's going on step by step: -1. The content of `` is replaced with the comment. The comment is <!--BODY-->, because `body.tagName == "BODY"`. As we remember, `tagName` is always uppercase in HTML. +1. The content of `` is replaced with the comment. The comment is ``, because `body.tagName == "BODY"`. As we remember, `tagName` is always uppercase in HTML. 2. The comment is now the only child node, so we get it in `body.firstChild`. 3. The `data` property of the comment is its contents (inside ``): `"BODY"`.