1
0
mirror of https://gitlab.com/MisterBiggs/secure-act-2.0.git synced 2025-08-18 00:34:43 +00:00

init commit

This commit is contained in:
2025-08-10 23:00:30 -06:00
commit 34fa4764a9
6 changed files with 1738 additions and 0 deletions

20
AGENTS.md Normal file
View File

@@ -0,0 +1,20 @@
# AGENTS.md — secure_student_loan
## Important: Agents cannot run/view this project
**Testing**: User must open `index.html` in browser. For debugging, add `console.log()` statements and ask user for console output.
## Commands
- **Run tests**: `node calculations.test.js` (custom assert functions)
- **Single test**: Comment out other tests in file, then run
- **Lint**: None (maintain consistency manually)
## Code Style
- **No package manager**: CDN-only (Tailwind, Alpine.js v3, ApexCharts)
- **HTML**: 4-space indent, semantic tags, ARIA labels, mobile-first
- **CSS**: Tailwind utilities only; responsive: `md:` `lg:` `xl:`
- **JS**: ES6, Alpine reactivity (`x-data`, `x-model.number`, `x-show`)
- **Imports**: CDN scripts with `defer` before `</body>`
- **Naming**: kebab-case for x-data; camelCase for JS functions
- **Testing**: assert/assertClose functions; test edge cases
- **Structure**: index.html (UI), calculations.js (logic), calculations.test.js
- **Constants**: 7% investment return, 5% loan interest hardcoded