Hello everyone,
I am trying to create html like this
html code
<div id="windwo">
<div id="windowhead">
</div>
</div>
And this is my try
**Js cose **
var div = document.createElement('div');
div.id = 'window';
var div = document.createElement('div');
div.id = 'windowhead';
document.body.appendChild(div);
document.body.appendChild(div);