Answers for "how to check window size in javascript"

3

how to get the height of window in javascript

//get screen height of the device by using
window.innerHeight
//get screen width of the device by using
window.innerWidth
Posted by: Guest on July-02-2020
7

get window size javascript

const window {
  width: window.innerWidth,
  height: window.innerHeight
}
Posted by: Guest on June-03-2020

Code answers related to "how to check window size in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language