title: Failed to use function
body: <p>I can't use <code>put(element, content)</code> even after importing and exporting the function.</p>
  <p>root/index.html</p>
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
   &lt;head&gt;
    &lt;meta charset=&quot;utf-8&quot; name=&quot;viewport&quot; content=&quot;width=device-width&quot;&gt;
    &lt;meta name=&quot;title&quot; content=&quot;${name}&quot;&gt;
    &lt;meta property=&quot;og:title&quot; content=&quot;${name}&quot;&gt;
    &lt;meta property=&quot;og:site_name&quot; content=&quot;Made using GBuild&quot;&gt;
    &lt;meta property=&quot;og:description&quot; content=&quot;GBuild is untested web game builder&quot;&gt;
    &lt;title&gt;${name}&lt;/title&gt;
    &lt;link href=&quot;style/build.css&quot; rel=&quot;stylesheet&quot;&gt;
    &lt;script type=&quot;module&quot; src=&quot;script/build.js&quot;&gt;&lt;/script&gt;
   &lt;/head&gt;
   &lt;body&gt;
    &lt;div id=&quot;container&quot;&gt;Hello world&lt;/div&gt;
    &lt;script type=&quot;module&quot; src=&quot;script/build.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;module&quot; src=&quot;build/scripted.js&quot;&gt;&lt;/script&gt;
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>root/build/scripted.js</p>
  <pre class="lang-js prettyprint-override"><code>put('h1', 'Hello Two')
  </code></pre>
  <p>root/script/build.js</p>
  <pre class="lang-js prettyprint-override"><code>const container = document.getElementById('container');
  function put (element, content) {
      return container.append('&lt;br&gt;', `&lt;${element}&gt;${content}&lt;/${element}&gt;`)
  }
  
  exports.container = container;
  exports.put = put;
  </code></pre>
  <p>Edit: <code>I did actually use express for this, so ${name} will replaced by it's value</code></p>
  <p>Another edit: <code>I already used &lt;Express&gt;.static() on 'script/' , 'style/' and 'build/'</code></p>
  <p>Even another edit: <code>Please see my</code> <a href="https://replit.com/@discordlist/GBuil?v=1" rel="nofollow noreferrer">REPLIT</a></p>