GenZ Digital

🏠 Home ℹ️ About πŸ“– User Guide πŸ”§ Dev Docs ❀️ Support
Language
Theme

GenZ Digital Evaluator

Decision Support System

Developer Documentation

Project Structure

This application uses a modular architecture with clear separation between logic, presentation, and data.

β”œβ”€β”€ index.html          # Main application page
β”œβ”€β”€ about.html          # About page
β”œβ”€β”€ docs.html           # Documentation page
β”œβ”€β”€ css/
β”‚   └── style.css       # Custom styles and animations
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ questions.js    # Question data and categories
β”‚   β”œβ”€β”€ spk.js          # Main SPK logic (SAW method)
β”‚   β”œβ”€β”€ export-pdf.js   # PDF export functionality
β”‚   β”œβ”€β”€ lang.js         # Multi-language support
β”‚   └── lang-switcher.js # Language switching logic
└── php/
    └── save.php        # Optional server-side saving

Adding New Questions

To add new questions, modify the QUESTIONS array in questions.js:

{
    id: 16,
    category: 'social_media',
    title: 'New Question Title',
    question: 'Your question text here',
    weight: 0.8
}