xxxxxxxxxx
//let element = document.getElementId('elementId');
//let parentElement = element.parentElement;
const element = document.body; // element = <body>...</body>
const parentElement = element.parentElement; //parentElement = <html>...</html>