0
1
Create a DOM element and add it to the doc
0 Comments
const newElement = document.createElement('div'); // Fill node HTML content element.innerHTML = 'htmlContent'; // Append node to document document.body.appendChild(newElement);