+ 1

What does appendchild command do?

9th Jun 2018, 6:42 PM
Aarnav Saxena
Aarnav Saxena - avatar
2 odpowiedzi
+ 3
appendChild is used to append a child in a html element. eg. If we have a <ol> list with three list <li> items, and using JS, if we need to add one more <li> element, then we can use appendChild.
9th Jun 2018, 6:45 PM
Sachin Artani
Sachin Artani - avatar
+ 1
appends a new html element into the parent element https://www.sololearn.com/learn/JavaScript/2755/
9th Jun 2018, 6:44 PM
᠌᠌Code X
᠌᠌Code X - avatar