Element.matches()

JavaScript’s Element.matches() method returns a Boolean value indicating whether the Element would be selected by any of the specified CSS selectors.

Node.cloneNode()

JavaScript’s Node.cloneNode() method returns a duplicate of the Node.

Element.remove()

JavaScript’s Element.remove() method removes the Element from the DOM (Document Object Model).

Node.parentNode

JavaScript’s Node.parentNode read-only property returns the Node’s parent node or null if the Node does not have a parent node.

Node.parentElement

JavaScript’s Node.parentElement read-only property returns the Node’s parent element or null if the Node does not have a parent element.

Element.className

JavaScript’s Element.className property gets and sets the value of the Element’s class attribute.

Element.childElementCount

JavaScript’s Element.childElementCount read-only property returns the number of the Element’s child elements.

Element.lastElementChild

JavaScript’s Element.lastElementChild read-only property returns the Element’s last child element or null if the Element has no child elements.

Element.firstElementChild

JavaScript’s Element.firstElementChild read-only property returns the Element’s first child element or null if the Element has no child elements.

Node.lastChild

JavaScript’s Node.lastChild read-only property returns the Node’s last child or null if the Node has no children.