/contrato-substituto

This project allows users to generate PDFs based on user input. The application is web-based and uses vanilla JavaScript for interactivity, HTML for structure, and CSS for styling. It is responsive.

Primary LanguageHTML

DevFel

📄 PDF Generator 🚀

Convert your inputs into a beautiful and printable PDF format with ease. Designed with simplicity and user experience in mind. A project developed for the Federal University of São João del-Rei (UFSJ) to generate a PDF file with the contract of a substitute professor.

Universidade Logo

🌟 Features

  • 📋 Dynamic Dropdown Option Selection:
    • Allow users to select a contract type and see it reflected in the content.
  • 🖊️ Text Input:
    • Input the Professor's name and see it dynamically added to the content.
  • 🖨️ Print as PDF:
    • One-click solution to convert your content to a PDF, you can print it in the default printer or use a PDF printer solution.

⚙️ Installation and Setup

  1. Clone the Repository: Begin by cloning the repository to your local machine:

    git clone https://github.com/devfel/contrato-substituto.git
  2. Navigate to the Directory:

    cd contrato-substituto
  3. Open with a Browser: Just double click on the index.html to open it in your default browser.

🚀 Getting Started

  1. 🖥️ Launch the index.html in your favorite browser.
  2. 📝 Fill out the form by selecting a contract type and inputting the Professor's name.
  3. 🖨️ Click the "Generate PDF" button and use the browser's print functionality to save as a PDF.

🔥 Execution

To run the program, simply open the index.html file in any modern web browser.

📂 Directory Structure

  • 📜 index.html: Main HTML file containing the structure of the web application.
  • 🎨 styles.css: Contains all the required styles for the application.
  • 🖥️ script.js: Contains scripts for interactivity and dynamics of the application.

🙌 Contribution

Feel free to fork the project, and contribute, All contributions are welcome!

📜 License

This project is open-source. Feel free to use, modify, and distribute it as you see fit.