JavaScript Tutorial ✦
DOM Manipulation Methods
APIs for interacting with the Document Object Model.
document.createElement('div');
document.querySelector('.container').appendChild(newDiv);
newDiv.remove();
APIs for interacting with the Document Object Model.
document.createElement('div');
document.querySelector('.container').appendChild(newDiv);
newDiv.remove();