jquery get height of element code example
Example 1: jquery get element width
$('#element').width();
Example 2: jquery get document height
let height = ($(window).height() || $("body").height());
Example 3: get width of div jquery
$("#divId").width();