title: How to open a pdf on same page using pdf.js
body: <p>I want to open up a pdf page on a web page on click of an icon and I want that page to be opened on the same page. I tried to use - pdf.js, but I am facing problem in running helloworld of pdf.js. So how do I use odf.js locally?   </p>
  
  <p>Link referred: <a href="https://github.com/mozilla/pdf.js/tree/master/examples/helloworld" rel="nofollow noreferrer">https://github.com/mozilla/pdf.js/tree/master/examples/helloworld</a>  </p>
  
  <p><img src="https://i.stack.imgur.com/NbiD7.png" alt="enter image description here"></p>
  
  <p>Thanks  </p>