JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
    <li>Make sure the result pane is larger than 200px by 200px and the <code>&lt;body&gt;</code>'s <code>scrollWidth</code> and <code>scrollHeight</code> will be greater than 200px.</li>
    <li>Ditto for <code>&lt;html&gt;</code>.</li>
</ul>

CSS

body {
    height: 200px;
    width: 200px;
    margin: 0;
    padding: 0;
}

JavaScript

console.log("scrollWidth: " + $("body")[0].scrollWidth);
console.log("scrollHeight: " + $("body")[0].scrollHeight);