We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a823ba1 commit fab3055Copy full SHA for fab3055
docs/1-trial-session/13-dom/index.md
@@ -64,11 +64,11 @@ newElement.textContent = "Hello World!";
64
今回は、div 要素の子要素にしてみましょう。
65
66
```html
67
-<div id="div-element"></div>
+<div id="parent-element"></div>
68
```
69
70
```js
71
-const parent = document.getElementById("div-element");
+const parent = document.getElementById("parent-element");
72
73
const newElement = document.createElement("div");
74
newElement.textContent = "Hello World!";
0 commit comments