body offsetheight code example
Example: offsetheight javascript
// The HTMLElement.offsetHeight read-only property returns the height
// of an element, including vertical padding and borders, as an integer.
let intElemOffsetHeight = element.offsetHeight;