title: Web3 Require is not defined
body: <p>Hello I'm trying to link Web3 to my html. I was using this <a href="https://github.com/ChainSafe/web3.js?source=post_page-----e3fbe89111c3----------------------" rel="nofollow noreferrer">https://github.com/ChainSafe/web3.js?source=post_page-----e3fbe89111c3----------------------</a> link.</p>
  <p>This is my code in the html file</p>
  <pre><code>&lt;script src=&quot;https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js&quot;&gt;&lt;/script&gt;
          &lt;script src=&quot;app.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>This is my code in app.js</p>
  <pre><code>// In Node.js
  const Web3 = require('web3');
  
  let web3 = new Web3('ws://localhost:8546');
  console.log(web3);
  </code></pre>
  <p>I been trying to google answers but can't seem to find a answer for my problem.</p>