#Javascript #Tutorial #Hindi

Link for Complete JavaScript Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSvHo6Rp4Ky0X8x_MabmKye

Link for Complete HTML and CSS Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSdLVVjU_kea8J8lP24ZseT


In this video i will talk about Window Object in JavaScript.

Two properties can be used to determine the size of the browser window.


window.innerHeight - the inner height of the browser window (in pixels)
window.innerWidth - the inner width of the browser window (in pixels)

NOTE: The browser window (the browser viewport) is NOT including toolbars and scrollbars.
The innerWidth and innerHeight properties return the size of the page viewport inside the browser window (not including the borders and toolbars).


The outerWidth and outerHeight properties return the size of the browser window itself.

window.outerHeight
window.outerWidth


The open() method opens a new browser window, or a new tab, depending on your browser settings and the parameter values.

The close() method closes the current window.


Please subscribe to watch more videos like this: https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g?sub_confirmation=1



Join this channel to support Tech Gun:
https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g/join