title: How do I apply CSS to this JS Fetch code to alter text position, font?
body: <p>New to JS.  How can I apply CSS to this JS Fetch to alter test position, font?  Thank you.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let file = 'art.txt';
      
  const handleFetch = () =&gt; {
    fetch(file)
      .then((x) =&gt; x.text())
      .then((y) =&gt; (document.getElementById('kdkz').innerHTML = y));
  };
  
  setInterval(() =&gt; handleFetch(), 2000);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;p id="kdkz"&gt;&lt;/p&gt;
   </code></pre>
  </div>
  </div>
  </p>