JSFiddle - React, Tailwind, and code Playground

by Julien Etienne

HTML

<div>   </div>

JavaScript

var div = document.getElementsByTagName('div')[0];

div.innerHTML = screen.width + ' ' + screen.height;