Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Create div with JS

const div = document.createElement('div');                     
// create a new div referenced in the variable 'div'
Source by www.theodinproject.com #
 
PREVIOUS NEXT
Tagged: #Create #div #JS
ADD COMMENT
Topic
Name
5+9 =