portrait (vertical) or landscape (horizontal) orientation. You can use the window.onresize event
to detect orientation changes. Add a listener for this event and turn the square into a rectangle
when the device is moved into landscape orientation. Turn it back into a square when the device
returns to portrait orientation.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here