JSFiddle - React, Tailwind, and code Playground

JavaScript

alert("w: " + screen.width + ", h: " + screen.height);