JSFiddle - React, Tailwind, and code Playground

JavaScript

var width = screen.width,
    height = screen.height,
    depth = screen.pixelDepth;
alert(width + 'x' + height + 'x' + depth);