Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript append child

const paragraph = document.body.appendChild(document.createElement('p'));
// You can append more elements to the paragraph later
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #append #child
ADD COMMENT
Topic
Name
4+3 =