Skip to content

Commit b6f1a2e

Browse files
committed
Fix a typo in Chapter 14 (and note in errata)
1 parent 0280259 commit b6f1a2e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

14_dom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ node. This function is then used to add an attribution to a quote.
437437
document.getElementById("quote").appendChild(
438438
elt("footer", "—",
439439
elt("strong", "Karl Popper"),
440-
", preface to the second editon of ",
440+
", preface to the second edition of ",
441441
elt("em", "The Open Society and Its Enemies"),
442442
", 1950"));
443443
</script>

html/errata.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ <h2>Chapter 10</h2>
4848

4949
<p><strong>Page 168</strong> (1st) <em>Modules as Building Blocks</em>: In “each
5050
needs it own private scope“, it should say “<em>its</em> own private
51-
scope“.
51+
scope“.</p>
52+
53+
<h2>Chapter 14</h2>
54+
55+
<p><strong>Page 234</strong> (2nd) <em>Creating Nodes</em>: In the
56+
code, “edition” is misspelled as “editon”.</p>
5257

5358
<h2>Chapter 16</h2>
5459

0 commit comments

Comments
 (0)