1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-27 02:54:27 +02:00

Fix small bug in code example (#5348)

This commit is contained in:
Eda
2024-05-11 03:45:11 +03:00
committed by GitHub
parent 2b4a3f2281
commit ed1532d1f5

View File

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