How alithw/trr2_tn works
TRR2_TN is a browser-based multiple-choice revision app for Discrete Mathematics II. A learner opens the locally served app, which loads practice and exam question data; the app supports question browsing, search, practice/exam modes, answer feedback and detailed explanations. It also remembers quiz state and offers shuffling and keyboard navigation. The sampled source shows data loading and quiz behavior in app.js, and static-file serving in server.js. Other README-listed capabilities are represented within the app node; unsampled HTML and styling are not expanded into separate runtime components.
Main entry points: app.js Quiz engine · server.js Static HTTP server · index.html Web app shell · questions.json Practice questions
Components 6
Local serving
- Static HTTP server
server.js
Quiz experience
- Web app shell
index.html - Quiz engine
app.js
Question data
- Practice questions
questions.json - Exam questions
exam_questions.json
Other components
- Learner
Connections 5
- Learner → Static HTTP server: opens app
README.md - Static HTTP server → Web app shell: serves files
server.js - Learner → Quiz engine: answers and navigates
app.js - Quiz engine → Practice questions: loads practice data
app.js - Quiz engine → Exam questions: loads exam data
app.js