const paragraph = document.body.appendChild(document.createElement("p"));
// You can append more elements to the paragraph laterNode: appendChild() method / notebook
Node: appendChild() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.