To nest an element inside the bodyElement, we use bodyElement.appendChild().

Make sure to pick bodyElement followed by . and then appendChild, (, ).