How adityamittal-dot/30-js-projects works
Purpose and Scope
This is a personal “30 JavaScript projects in 30 days” practice repository. It currently contains 16 independent browser-based exercises, progressing from basic DOM/logic work toward more intermediate projects. There is no shared application, package structure, backend, or deployment layer.
Entry-Point Model
Each day is a standalone mini-application opened directly in a browser:
• HTML document and UI shell: day 1/index.html, day 10/index.html, day 16/index.html
• Per-project JavaScript behavior: day 1/app.js, day 10/app.js, day 16/app.js
The relevant entry point for any project is its own index.html; it loads and hosts that day’s app.js.
Project Isolation Boundary
Days are intentionally isolated rather than composed into a single product:
• day 2/index.html + day 2/app.js
• day 7/index.html + day 7/app.js
• day 14/index.html + day 14/app.js
A change in one day should generally not affect another. There is no visible shared source directory, common component system, reusable JavaScript module layer, or central navigation/launcher.
Browser Interaction Stage
The core runtime pattern is client-side JavaScript operating against page markup:
1. Browser loads a day-specific HTML page.
2. The page loads that day’s script.
3. JavaScript handles user input and updates the DOM/state for that exercise.
This pattern is represented consistently by paired files such as day 3/index.html and day 3/app.js, through day 15/index.html and day 15/app.js.
Progression Structure
Directory names are the primary organizational and curriculum mechanism:
• Early/basic exercises: day 1/, day 2/, day 3/
• Later currently implemented exercises: day 11/, day 12/, day 16/
The README describes an intended 30-day sequence, but only days 1–16 are present. Difficulty progression is conceptual rather than encoded through shared abstractions or runtime dependencies.
Assets and External Boundaries
The only visible asset-specific boundary is an image directory under one project:
• day 13/img
• day 13/index.html
• day 13/app.js
Otherwise, the repository appears to rely on standard browser capabilities—HTML, JavaScript, DOM APIs, and possibly static local assets. No backend services, databases, build system, package manager, cloud infrastructure, or external API integration is evident from the provided tree.
Engineering Implications
Treat each day as an independently runnable static site. The primary maintenance boundary is the directory pair of index.html and app.js; cross-day refactoring is optional and would change the repository’s current practice-oriented architecture. Adding days 17–30 should follow the established day N/index.html and day N/app.js convention.
Main entry points: day 13/index.html Day 13 page · day 1/index.html Day 1 page · app.js Day 1 behavior · day 2/index.html Day 2 page
Components 21
Early exercises
Independent basic browser projects.
- Day 1 page
day 1/index.html - Day 1 behavior
day 1/app.js - Day 2 page
day 2/index.html - Day 2 behavior
day 2/app.js - Day 3 page
day 3/index.html - Day 3 behavior
day 3/app.js - Day 7 page
day 7/index.html - Day 7 behavior
day 7/app.js
Later exercises
Independent later practice projects.
- Day 10 page
day 10/index.html - Day 10 behavior
day 10/app.js - Day 13 page
day 13/index.html - Day 13 behavior
day 13/app.js - Day 14 page
day 14/index.html - Day 14 behavior
day 14/app.js - Day 15 page
day 15/index.html - Day 15 behavior
day 15/app.js - Day 16 page
day 16/index.html - Day 16 behavior
day 16/app.js
Project assets
- Day 13 images
day 13/img
Other components
- Browser runtime · Opens each project directly as a static site.
- DOM and page state · Scripts handle input and update their own page.
Connections 28
- Browser runtime → Day 1 page: opens
- Browser runtime → Day 2 page: opens
- Browser runtime → Day 3 page: opens
- Browser runtime → Day 7 page: opens
- Browser runtime → Day 10 page: opens
- Browser runtime → Day 13 page: opens
- Browser runtime → Day 14 page: opens
- Browser runtime → Day 15 page: opens
- Browser runtime → Day 16 page: opens
- Day 1 page → Day 1 behavior: loads
- Day 2 page → Day 2 behavior: loads
- Day 3 page → Day 3 behavior: loads
- Day 7 page → Day 7 behavior: loads
- Day 10 page → Day 10 behavior: loads
- Day 13 page → Day 13 behavior: loads
- Day 13 page → Day 13 images: uses
- Day 14 page → Day 14 behavior: loads
- Day 15 page → Day 15 behavior: loads
- Day 16 page → Day 16 behavior: loads
- Day 1 behavior → DOM and page state: updates
- Day 2 behavior → DOM and page state: updates
- Day 3 behavior → DOM and page state: updates
- Day 7 behavior → DOM and page state: updates
- Day 10 behavior → DOM and page state: updates
- Day 13 behavior → DOM and page state: updates
- Day 14 behavior → DOM and page state: updates
- Day 15 behavior → DOM and page state: updates
- Day 16 behavior → DOM and page state: updates