lastElementChild

The Document.lastElementChild read-only property returns the document's last child Element, or null if there are no child elements.

MDN Reference