Imported from Sivasakthi-Vengatesan/copilot-dev-days-workshop (
AGENTS.md). Install upstream withnpx skills add Sivasakthi-Vengatesan/copilot-dev-days-workshop. Copyright stays with the author.
Project Instructions
- Use plain JavaScript. Do not add frameworks, build tools, or npm dependencies.
- Keep pure quiz logic in
src/quiz.js; export it withmodule.exportsfor tests. - Keep DOM access, rendering, and event handling in
src/app.js. - Keep quiz content in
src/questions.jsand preserve its existing object shape. - Load browser scripts in dependency order as currently defined in
src/index.html. - Test pure logic with Node's built-in
node:testandnode:assert/strict. - Run the full test suite with
npm testafter changes. - Define colors only as CSS custom properties in
:rootinsrc/style.css. - Use semantic buttons for actions, retain visible keyboard focus, and announce changing messages with
aria-live. - Keep changes small and consistent with nearby code; avoid unrelated refactors.
- Consult README.md for setup and project overview, and workshops/vscode.md for the guided workflow.
