Contant is the class of the element that wants to get the height
let heights = document.getElementsByClassName('contant')[0].clientHeight
console.log(heights)
Contant is the class of the element that wants to get the height
let heights = document.getElementsByClassName('contant')[0].clientHeight
console.log(heights)