Closed blade-sensei closed 4 years ago
attach, insert and element at the end of generally a list or string (string is considered as a list or chars)
DOM: element.appendChild() add element to list child In the element (parent)
Python: list.append(item)
add has the same function that append, so it can be the same thing in different langages/tools/libs etc.
combination of other things so as to increase the original unit in numbers, size, amount
JS: Set.add() add: add and element to set object
Insert is also used to add but in a specific place or Index (arrays)
python: list.insert(index, element)
Builds/create and object but it's not attached to anything.
DOM: document.createElement("BUTTON"); create / not added anywhere
append is used to agregate to string or file .. ciontinious add is more for creating or ADD INTO