A modern web-based ID card generator that allows users to create professional employee ID cards with a beautiful user interface.
- 🎨 Modern and responsive user interface
- 📝 Real-time ID card preview
- 📸 Photo upload and preview
- 🏢 Company logo upload
- 📥 Download generated ID cards
- 🎯 Form validation
- 📱 Mobile-friendly design
- HTML5
- CSS3
- JavaScript (ES6+)
- html2canvas (for ID card download)
- Google Fonts (Roboto)
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- Basic understanding of HTML, CSS, and JavaScript (for development)
-
Clone the repository:
git clone [repository-url]
-
Navigate to the project directory:
cd id-card-generator
-
Open
index.html
in your web browser or set up a local server.
-
Fill in the employee details:
- Full Name
- Employee ID
- Department
- Position
-
Upload required images:
- Company Logo (optional)
- Employee Photo (required)
-
Preview the ID card in real-time
-
Click "Generate ID Card" to create the card
-
Use the "Download ID Card" button to save the generated ID card
├── index.html # Main HTML file
├── styles.css # CSS styles
├── script.js # JavaScript functionality
└── favicon.ico # Website favicon
- Input validation for required fields
- File upload for company logo and employee photo
- Real-time preview updates
- Professional layout with company logo
- Employee photo display
- Employee details section
- Valid until date
- Download functionality
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- html2canvas for the card download functionality
- Google Fonts for the Roboto font family