Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 2.66 KB

README.md

File metadata and controls

75 lines (61 loc) · 2.66 KB

Sharabati Denim Defect Counter

This project is a simple web application designed to help inspectors at Sharabati Denim manufacturing company count defects in denim fabric. The counted defects can then be manually entered into the inspection module of the Sharabati Denim ERP system.

Live Demo

Check out the live demo of the calculator: Defect Counter Live Demo

Table of Contents

Features

  • Increment Defect Count: Easily increment the count of defects with a single button click.
  • Save and Reset: Save the current count and reset the counter for new inspections.
  • View Previous Entries: Display a list of previously recorded counts for reference.

Usage

  1. Open the Application: Load the web application in a browser.
  2. Count Defects:
    • Click the "Increment" button each time a defect is found.
    • The current count will be displayed prominently on the screen.
  3. Save Count:
    • Once the inspection of a section of fabric is complete, click the "Save" button.
    • The current count will be saved and displayed in the "Previous entries" section.
    • The counter will reset to 0 for the next section of fabric.
  4. Record Data:
    • Manually enter the saved counts into the inspection module of the Sharabati Denim ERP system.

Installation

To set up the project locally, follow these steps:

  1. Clone the Repository:
    git clone https://github.com/sharabati-denim/defect-counter.git
  2. Navigate to the Project Directory:
    cd defect-counter
  3. Open index.html in a Browser:
    • Double-click on index.html or open it manually in your preferred web browser.

Project Structure

  • index.html: The main HTML file containing the structure of the web application.
  • index.css: The CSS file containing styles for the web application.
  • index.js: The JavaScript file containing the logic for counting and saving defects.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the Repository
  2. Create a New Branch:
    git checkout -b feature/your-feature-name
  3. Commit Your Changes:
    git commit -m 'Add some feature'
  4. Push to the Branch:
    git push origin feature/your-feature-name
  5. Create a Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please contact the IT department at Sharabati Denim.