
Overview
JavaScript scope exercise allocating event-specific training days for athletes.
Business Impact
Highlights how scope bugs appear in real logic and how to structure variables cleanly.
Skills Demonstrated
- Function scope / block scope
- Random event selection
- Clear variable naming for shared logic
Run Locally
Run with Node: `node TrainingDays.js`.
What I'd Improve Next
- Add unit tests around scope-sensitive helpers
- Support multiple athletes in one run
- Return structured training plans
Notes
Part of the IT Career Switch coursework archive.