Getting the screen resolution

suggest change

window.screen is browser-only. screen.width and screen.height are the screen size in CSS pixels, including the area covered by the taskbar or dock. They are not physical device pixels; multiply by window.devicePixelRatio when you need device pixels.

const width  = window.screen.width,
    height = window.screen.height;

Feedback about page:

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



Table Of Contents