You can get the width and height of the user's screen using the screen
object in JavaScript:
index.tsx173 chars6 lines
This will give you the screen resolution in pixels. Note that this may not be the same as the browser window size or the device's physical screen size.
gistlibby LogSnag