How shaikkhajavali080-max/jspforge-debug-lab works
JSPForge Debug Lab is a browser-only learning simulation, not a JSP runtime. A student selects one of three lifecycle challenges, runs a simulated check, applies the correction, validates it, submits a 30-character explanation, and can download the corrected JSP or review progress. The JavaScript owns the challenge content and these interactions; progress and submissions persist in sessionStorage for the current browser session. The README documents the full workflow and module topics; the sampled JavaScript excerpt shows the editor, debug/fix, download, report, and session behavior, but not every result-view implementation detail.
Main entry points: script.js Lab Controller · index.html Lab Page
Components 13
Browser Interface
- Lab Page
index.html - Lab Styling
style.css
Debug Lab
- Challenge Content
script.js - Lab Controller
script.js - Debug Check
script.js - Apply Fix
script.js - Fix Validation
script.js - Explanation Submission
script.js - JSP Download
script.js
Progress and Session
- Results View
script.js - Session Progress
script.js - Browser Session
Other components
- Student
Connections 16
- Student → Lab Page: uses
README.md - Lab Page → Lab Controller: interacts with
README.md - Lab Controller → Challenge Content: selects challenge
script.js - Lab Controller → Debug Check: runs
script.js - Lab Controller → Apply Fix: applies
README.md - Lab Controller → Fix Validation: validates
README.md - Lab Controller → Explanation Submission: submits
README.md - Lab Controller → JSP Download: downloads
README.md - Debug Check → Challenge Content: inspects
script.js - Apply Fix → Challenge Content: loads correction
script.js - Fix Validation → Challenge Content: checks correction
script.js - Lab Controller → Results View: opens results
README.md - Lab Controller → Session Progress: saves progress
script.js - Session Progress → Browser Session: stores in
script.js - Results View → Session Progress: shows progress
README.md - Lab Controller → Session Progress: clears on reset
script.js