Fix small bug in code example (#5348)

pull/3534/head^2
Eda 7 months ago committed by GitHub
parent 2b4a3f2281
commit ed1532d1f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/question-groups/javascript/content/append-child-vs-insert-before.md

@ -10,7 +10,7 @@ const roadmapWrapper = document.querySelector('.roadmap-wrapper');
const roadmap = document.createElement('div');
roadmap.id = 'javascript-roadmap';
roadmapWrapper.appendChild(roadmapTitle);
roadmapWrapper.appendChild(roadmap);
```
In the example above, the `roadmap` element is added as the last child of the `roadmapWrapper` element.

Loading…
Cancel
Save