title: web3.js to use with web development
body: <p>I want to use web3.js together with my web page but the require function is not working for me. I have tried using browserify , importing instead of declaring as const but none worked, one problem solution lead to another problem. I tried to bundle these but web3 module has also some js inside which uses import statement so I am getting error to bundle them as well.
  <a href="https://i.stack.imgur.com/xK6Wp.png" rel="nofollow noreferrer">issue while using web3js with require</a></p>
  <p><a href="https://i.stack.imgur.com/sah6h.png" rel="nofollow noreferrer">simple js code</a></p>
  <p><a href="https://i.stack.imgur.com/gxVoQ.png" rel="nofollow noreferrer">issue while using web3js with import</a></p>
  <p><a href="https://i.stack.imgur.com/Eowxz.png" rel="nofollow noreferrer">simple js code</a></p>