Window innerWidth and innerHeight Properties

suggest change

Get the viewport size in CSS pixels. innerWidth includes the vertical scrollbar when there is one.

const width = window.innerWidth
const height = window.innerHeight

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents