How cole1366/surveyapp works
Kadikomu is an offline browser questionnaire for creating and completing interviews, saving progress locally, reviewing answers, and exporting them as a PDF. The main flow is user → interview UI → JavaScript controller, which loads question data, persists answers and progress, and builds the summary and PDF. The README documents these capabilities; the sampled controller confirms the runtime behavior, while UI structure is represented by the existing HTML file.
Main entry points: script.js Interview controller · index.html App views and controls · questions.json Question set
Components 10
Questionnaire interface
- App views and controls
index.html - Question and progress UI
index.html - Answer summary
index.html
Interview flow
- Interview controller
script.js - Question set
data/questions.json
Data and export
- Saved answers and progress
- PDF generation
script.js - jsPDF library
- Downloaded answer PDF
Other components
- Interview user
Connections 11
- Interview user → App views and controls: uses
- App views and controls → Interview controller: triggers actions
- Interview controller → Question set: loads questions
- Interview controller → Question and progress UI: renders questions
- Question and progress UI → Interview controller: submits answers
- Interview controller → Saved answers and progress: reads and writes
- Interview controller → Answer summary: renders answers
- Interview controller → PDF generation: builds PDF
- PDF generation → jsPDF library: uses
- PDF generation → Downloaded answer PDF: downloads
- Interview user → Downloaded answer PDF: downloads