es6 get height code example Example: javascript element height var intElemOffsetHeight = element.offsetHeight;