JSFiddle - React, Tailwind, and code Playground
HTML
<div id="result">
Result:
</div>
CSS
#result
{
border:1px solid #000;
}
JavaScript
try {
$(document).innerWidth();
}
catch (e) {
$("#result").html(e.toString());
}
<div id="result">
Result:
</div>
#result
{
border:1px solid #000;
}
try {
$(document).innerWidth();
}
catch (e) {
$("#result").html(e.toString());
}