Static, offline-first questionnaire adapted from the supplied CircSmeltSteel GitLab Pages project and the supplied Infrastructure_assessment_questionare.xlsx. This version is configured for GitHub Pages.
- Five sections matching the Excel questionnaire.
- Appropriate single-choice, multi-select, URL, free-text and composite answer controls.
- Browser-local draft saving; responses are not posted to GitHub.
- JSON export for aggregation and PDF export for a readable assessment record.
- Responsive layout based on the reference project.
- Push to the
mainbranch. - In GitHub, open Settings → Pages. Under Build and deployment → Source, choose GitHub Actions.
- Open Actions and wait for
Deploy Materials Commons questionnaire to GitHub Pagesto complete. - Return to Settings → Pages to open the published site URL.
The workflow is .github/workflows/pages.yml. Unlike the reference project, no .gitlab-ci.yml is required.
Run python3 -m http.server 8000 in this folder and open http://localhost:8000. Do not rely on opening index.html directly because browsers may block loading questionnaire.json from a local file URL.
index.html— page shell and assessment metadata.styles.css— responsive styling adapted from the reference project.app.js— rendering, local draft storage and exports.questionnaire.json— questionnaire content derived from the Excel workbook.pdf-export.js— self-contained PDF export..github/workflows/pages.yml— GitHub Pages deployment.
The site is static. Answers remain in browser localStorage until cleared and are exported locally as files. GitHub Pages hosts the questionnaire application but does not receive the completed assessment through this application. If central submission is later required, add an approved destination/workflow separately.