Full-Stack Lab: Complete Getting Started Guide

Start with one small change and evidence you can explain. All default content uses fictional records. No API key is needed.

Your first ten minutes

  1. Open the Interactive Lab and click Build Your First Full-Stack Application.
  2. Keep Educational simulation selected. Read frontend loadTasks and backend GET /api/tasks. Predict two task titles.
  3. Click Send Request. Verify status200, matched /api/tasks route, parsed array and two rendered list items.
  4. Change the tasks in Virtual store JSON. Click Apply Sample Data to Route, then Send Request. Compare titles.
  5. Click Introduce404, then Send Request. Explain why the real frontend displays Unable to load tasks. Restore the route and resend.
  6. Open Learn, choose lesson5, load the broken example, predict the failure, repair source and Check. Use hints if needed.
  7. Write your explanation, Save Draft and Notes, and export a backup from My Evidence.
  8. Open Projects, choose a project, Load Finished Project and Export Complete Node Project. Follow its README to run the actual Node application.

Every area and control

Start Here

Choose the first request workbench, full lesson path or workspace explorer. The expanded introduction belongs here; other views use one optional workspace guide.

Learn / Jump to lesson

Select any of 100 lessons using the dropdown or expand one of 20 modules. Read the problem and predict before running. Switching lessons preserves the current in-memory draft; Save Draft and Notes commits it locally.

Prepared example / Load Selected Example

Choose one of five authored examples, then load it. Normal, changed and boundary cases show independently declared expected results. The broken case deliberately fails; the regression example checks several cases.

Run / Check

Run executes your actual edited JavaScript or renders actual HTML/CSS/JavaScript. Check compares with authored expected values or scoped DOM rules. Passing is evidence for this contract only, not a proof of accessibility, security or production correctness.

Source and input editors

Edit the actual source and JSON input. In DOM lessons choose a file, edit it, then run the preview. Invalid JSON and syntax errors are reported; the tool never silently repairs your work.

Hints / Solution / Reset

Use the three hints progressively. Revealing the answer is for comparison and does not award mastery. Reset replaces the current example after confirmation. Explain why the repaired code works before proceeding.

Engineering Lab / Workspace / Learning object

Choose one of 12 workspaces and a focused experiment. Its related lesson contains the full teaching sequence and editable exercises. Expand Workspace Guide for three worked cases and declared outcomes.

Send Request

Executes the backend source through a limited Express-like educational adapter, then replays that configured response into the real frontend preview. Inspect method, path, route trace, status, body and console separately. No real Node server starts in simulation mode.

Configured request JSON

Controls the adapter request target, method, headers and body. The frontend fetch shim replays this configured response; changing the path inside frontend source alone does not retarget the backend. Both paths are shown in the log.

Frontend source / Backend source

Frontend source runs inside the controlled browser DOM. Backend source runs actual JavaScript with a limited provided app/store API. import express is recognized by the adapter, not downloaded or executed as real Express.

Virtual store JSON / Apply Sample Data to Route

Edit the fictional tasks array. Apply regenerates the sample GET route from those tasks; then Send Request. Editing the store alone does not change a hard-coded res.json array. CRUD routes use the virtual store directly.

Introduce404 / Restore Task Route

Introduce404 changes configured target to /api/missing. Send Request and observe status404 and Unable to load tasks. Restore returns the opening source/target; send again to recover.

Load Editable CRUD Routes

Loads modeled GET/POST/PATCH/DELETE routes. Configure a POST body, send it, then GET to inspect persistence in the virtual store. It is temporary browser exercise data, not a disk database.

Failure injection / Stop Execution

503 and malformed-body options deliberately alter evidence. Remove the fault to recover. Stop disposes the current worker/preview. Guarded executions also have budgets and timeouts.

Transport / Optional backend origin

Actual configured backend permits GET requests to a separately running HTTPS or loopback server. It uses real fetch, normal CORS and omitted credentials. No browser key field exists. Simulation remains useful without installation.

Projects / Open Project

Select one of 40 focused Node applications. Read the brief, milestones and limitations. The source selector exposes every file; edits are included in your export.

Load Finished Project / Load Starter

Finished loads complete working source. Starter intentionally leaves the analysis function unfinished. Confirm replacement of current edits. You do not need to recreate finished code manually.

Export Complete Node Project

Downloads all current files as a ZIP. Extract, open its README and PROJECT.md, install Node22 or newer, run npm test, then npm start. Open the localhost address printed by the server. A static PHP/FTP host does not run Node automatically.

Export Current Source

Exports the current educational exercise files. This is different from a complete Node project and different from a learning backup.

Save Draft and Notes / My Evidence

Save commits current source and explanation to IndexedDB in this browser. My Evidence lists current passing contracts. Browser storage can be cleared; export backups regularly.

Export Versioned Backup / Import backup

Backup contains academy drafts and notes in version1 JSON. Import replaces this academy’s records after confirmation and clears imported pass credit until checks run again. Never store credentials in notes or source.

AI Learning Prompt Studio

Expand, select a goal, Build Contextual Prompt, inspect and edit, then Copy Prompt. Actual current code/results and expected behavior are included. No AI request is made; independently test any external answer.

Practice and Debug

Choose challenges, bugs or assessments and search titles. Open Teaching Lesson loads the activity source into the real exercise. Choice questions explain answers; written explanations use a human review rubric rather than fabricated automatic grading.

Workspace walkthroughs

Full-Stack Code Playground

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Browser-server architecture — normal

  1. Choose Browser-server architecture.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "order": 1,
    "boundary": "view"
  },
  {
    "order": 2,
    "boundary": "route"
  },
  {
    "order": 3,
    "boundary": "store"
  }
]

HTTP request lifecycle — changed input

  1. Choose HTTP request lifecycle.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  "Learn JavaScript",
  "Build an API"
]

Browser-server architecture — independent check

  1. Choose Browser-server architecture.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "order": 1,
    "boundary": "view"
  },
  {
    "order": 2,
    "boundary": "route"
  },
  {
    "order": 3,
    "boundary": "store"
  }
]
HTML and CSS Interface Builder

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

HTML structure — normal

  1. Choose HTML structure.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

CSS box model — changed input

  1. Choose CSS box model.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

Responsive layout — independent check

  1. Choose Responsive layout.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.
DOM and Event Explorer

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

DOM tree — normal

  1. Choose DOM tree.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

Element selection — changed input

  1. Choose Element selection.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

DOM mutation — independent check

  1. Choose DOM mutation.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.
JavaScript State Inspector

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

State updates — normal

  1. Choose State updates.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

Render cycles — changed input

  1. Choose Render cycles.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.

Local storage — independent check

  1. Choose Local storage.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

Inspect the authored DOM/style/interaction contract in the related lesson.
HTTP Request and Response Laboratory

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Fetch requests — normal

  1. Choose Fetch requests.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

{
  "value": [
    1,
    2
  ]
}

JSON parsing — changed input

  1. Choose JSON parsing.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

{
  "valid": true,
  "count": 2
}

HTTP status codes — independent check

  1. Choose HTTP status codes.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  200,
  201,
  422
]
Node.js Runtime Explorer

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Node event loop — normal

  1. Choose Node event loop.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  "start",
  "data",
  "end"
]

Node modules — changed input

  1. Choose Node modules.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "name": "./a.mjs",
    "found": true
  },
  {
    "name": "./b.mjs",
    "found": false
  }
]

Module dependencies — independent check

  1. Choose Module dependencies.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "name": "server",
    "present": true
  },
  {
    "name": "domain",
    "present": false
  },
  {
    "name": "storage",
    "present": false
  },
  {
    "name": "client",
    "present": true
  }
]
API Route Builder

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Route matching — normal

  1. Choose Route matching.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

list

Middleware execution — changed input

  1. Choose Middleware execution.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  "log",
  "auth"
]

Request headers — independent check

  1. Choose Request headers.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

{
  "content-type": "application/json",
  "x-trace": "7"
}
Data Persistence Studio

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

CRUD workflows — normal

  1. Choose CRUD workflows.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "id": 2
  }
]

Data models — changed input

  1. Choose Data models.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "id": 1,
    "duplicate": false
  },
  {
    "id": 1,
    "duplicate": true
  }
]

Database relationships — independent check

  1. Choose Database relationships.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "id": 1,
    "userId": 7,
    "owner": "Alex"
  }
]
Authentication and Authorization Simulator

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Session lifecycle — normal

  1. Choose Session lifecycle.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

true

Cookie handling — changed input

  1. Choose Cookie handling.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

session=opaque; HttpOnly; SameSite=Strict; Path=/; Secure

Authorization rules — independent check

  1. Choose Authorization rules.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

true
Full-Stack Debugging Laboratory

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Browser debugging — normal

  1. Choose Browser debugging.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

inspect request

Server debugging — changed input

  1. Choose Server debugging.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

 at app.mjs:12

Network debugging — independent check

  1. Choose Network debugging.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

transport
Testing and Quality Studio

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

Unit test execution — normal

  1. Choose Unit test execution.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  {
    "name": "sum",
    "pass": true
  }
]

API test execution — changed input

  1. Choose API test execution.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

true

DOM test execution — independent check

  1. Choose DOM test execution.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

{
  "pass": true,
  "checks": 2
}
Complete Application Builder

Choose an object, read the objective and evidence mode, predict, run, inspect output and trace, modify one input, check and explain. Reset restores the prepared example. Local Node models are not real server execution. Use project exports for actual Node HTTP and persistence tests.

AI code review — normal

  1. Choose AI code review.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  "Missing auth"
]

Deployment architecture — changed input

  1. Choose Deployment architecture.
  2. Read the source and expected result before running.
  3. Change one declared input, state the new prediction and run.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

[
  "storage"
]

Environment configuration — independent check

  1. Choose Environment configuration.
  2. Read the source and expected result before running.
  3. Run the prepared case and inspect the actual result.
  4. Reset, explain the boundary and preserve a regression case.

Declared result for the prepared fixture:

{
  "PORT": "8080",
  "NODE_ENV": "development"
}

Troubleshooting

  1. Nothing runs: serve the folder over HTTP/HTTPS; do not double-click file://. Confirm .mjs is served as JavaScript and no CSP extension blocks workers.
  2. Wrong tasks: a hard-coded route ignores virtual storage until Apply Sample Data to Route or CRUD routes is selected.
  3. Real backend fails: start it separately, allow the exact academy origin and inspect actual HTTP/CORS errors. Never disable browser protections.
  4. Check fails after changing input: authored expected values remain fixed. Restore the fixture or create your own independent regression case.
  5. Progress disappeared: browser profiles and domains have separate storage. Import your saved backup and rerun checks.
  6. Node project does not start on FTP: use a Node-capable host; the static learning academy and real backend deployments are separate.