Course Content
Javascript Full Course
0/87
JavaScript Course
About Lesson

The resizeBy() method in HTML Window is used to resize a window by the specified amount, relative to its current size.

Syntax:

resizeBy(width, height)

property value:
  • width: A that specifies the resize pixels of width.
  • height: A that specifies the resize pixels of height.

The HTML Window resizeTo() Method is used to resize a window to the specified width and height.

Syntax:

window.resizeTo(width, height)

Parameters:
  • width: Sets the width of the window, in pixels.
  • height: Sets the height of the window, in pixels.
Exercise Files
No Attachment Found
No Attachment Found
Join the conversation

Introducing Official ApeStaking Protocol for ApeCoin.

New Blur NFT Marketplace Courting Professional.