PDF Viewer This is a simple web application that allows users to view PDF files in the browser.
Features Upload PDF files and view them directly in the browser. Navigate through pages using navigation buttons. Display page information, including the current page number and total number of pages. Live Demo You can try the live demo of the PDF viewer here (https://pdf-viewr.vercel.app/).
Getting Started To use the PDF viewer, follow these steps:
Clone the repository to your local machine:
bash Copy code git clone https://github.com/yourusername/pdf-viewer.git Navigate to the project directory:
bash Copy code cd pdf-viewer Open the index.html file in your preferred web browser.
Use the file input button to select a PDF file from your local storage.
Once the PDF file is selected, you can navigate through its pages using the navigation buttons.
Dependencies pdf.js: PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5.
script CDN :<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.min.js"></script>