Skip to content

Commit 41d7ac7

Browse files
authored
Update part0b.md
Corrected the DOM function on explantion to reflect the actual code in main.js
1 parent 77d9b84 commit 41d7ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/0/en/part0b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ data.forEach(function(note) {
324324
Finally, the tree branch of the <em>ul</em> variable is connected to its proper place in the HTML tree of the whole page:
325325
326326
```js
327-
document.getElementsByClassName('notes').appendChild(ul)
327+
document.getElementById('notes').appendChild(ul)
328328
```
329329
330330
### Manipulating the document object from console

0 commit comments

Comments
 (0)