From 844aef693ed1ebd778e28e28dbda1670e38eb8bb Mon Sep 17 00:00:00 2001 From: davidbludlow Date: Fri, 22 Jun 2018 01:50:04 -0500 Subject: [PATCH] MD typo in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When displayed on https://javascript.info/basic-dom-node-properties there was a typo that said but it was supposed to say . It was caused by a markdown technicality. --- .../05-basic-dom-node-properties/3-tag-in-comment/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`.