+ 5

How create a div in javascript

please

12th Jul 2017, 9:16 PM
Victor Emmanuel Reina Liscano
Victor Emmanuel Reina Liscano - avatar
2 Answers
+ 6
var div = document.createElement("div"); document.body.appendChild(div);
12th Jul 2017, 9:21 PM
The Coding Sloth
The Coding Sloth - avatar
+ 2
thanks
12th Jul 2017, 9:22 PM
Victor Emmanuel Reina Liscano
Victor Emmanuel Reina Liscano - avatar