JavaScript AcademyProfessional Engineering

Help Center

Everything about using the academy, in one place.

Getting started
  • Start with Start My First JavaScript Lesson on the home page, or take the three-minute mission there first.
  • Each lesson begins with a small working example. Press Run Code and watch the console.
  • Your work is saved automatically in this browser. Nothing is sent to a server and no account is needed.
Learning modes
  • Guided Learning shows step-by-step instructions, predictions and hints.
  • Independent Exploration hides guidance so you can experiment; every example stays editable.
  • Professional Engineering puts requirements and tests first, with minimal guidance.
  • Switch modes in the header at any time. Your progress is kept.
Running JavaScript
  • Run Code (or Ctrl+Enter / ⌘+Enter in the editor) runs the code in a sandbox.
  • Plain JavaScript runs in a Web Worker; examples marked Browser page run in a sandboxed preview frame.
  • Runs stop after 5 seconds, and loops stop after 2,000,000 repetitions, so an infinite loop cannot freeze the page.
  • Reset restores the original code; Copy Code and Download Source give you the file.
Understanding errors
  • Errors show their type, message and line, and the line is highlighted in the editor.
  • Explain Error gives a plain-language explanation and an investigation plan.
  • A SyntaxError means nothing ran. A runtime error means lines before it ran and lines after it did not.
Guided exercises
  • Each lesson has three exercises: A (explore and modify), B (complete the implementation) and C (build independently).
  • Run Tests checks behaviour, not identical code: any solution that passes is correct.
  • Show Hint reveals three levels of hints: concept, direction, then partial code.
  • Reveal Solution becomes available after you run the tests at least once. Passing after revealing it is recorded separately and does not count toward mastery.
Project checkpoints
  • Projects are split into stages. Each stage has a starter version and a complete version, kept separately so earlier versions are never overwritten.
  • Load Starter and Load Complete replace the editor files (your current work is saved first under the stage).
  • Every stage, the starter, the solution and the whole project can be downloaded as a ZIP.
Tests
  • Test results show the name, expected result, actual result and whether it passed. Results are announced to screen readers.
  • Some exercises include extra cases that check your code with different values. They are not secret: you can read them in the downloaded tests.json.
  • Client-side tests help you learn; they cannot prevent tampering and are not an exam.
Debugging investigations
  • Each investigation gives a realistic problem, broken code, reproduction steps, expected and actual behaviour.
  • Use Run Code, Explain Error, Visualize and labelled console.log lines to investigate, then Verify Fix.
  • The root cause, corrected source and prevention advice appear after you solve the case, or on request.
GitHub and downloads
  • Every lesson, exercise and project is also stored as plain files in the companion repository folder (JavaScript-Professional-Academy).
  • The repository has not been published yet. Until it is, use the ZIP downloads on each page.
  • Downloaded browser projects open directly from index.html; Node.js tests run with node --test.
Node.js setup
  • Install the current LTS release from nodejs.org. Check it with node --version in a terminal.
  • Project tests use Node's built-in test runner: from the project folder run node --test.
  • Level 5 server lessons will include complete local projects; Node.js programs cannot run inside this website.
npm setup
  • npm is installed with Node.js. Check it with npm --version.
  • The projects built so far need no npm packages at all. Later projects will list every dependency in package.json and explain why it is needed.
Browser limitations
  • The sandbox cannot read this page, your saved progress, cookies or files.
  • In the sandbox, localStorage is a memory-only stand-in: it lasts until you reset the preview. Reload Preview keeps it so you can test persistence.
  • The Execution Visualizer shows instrumented runs of your code (each statement and the variables in scope). It is an educational model, not the engine's internal debugger; async functions and generators are run but not drawn on the call stack.
  • Column numbers are not shown for runtime errors because the code is instrumented for loop protection; line numbers are accurate.
API requests
  • Level 4 covers fetch, JSON and network failures. Lessons will use local sample responses so they work offline, and clearly label any request to an external service.
  • None of the current lessons make network requests.
AI prompts
  • Every lesson ends with reusable prompts that state context, task, constraints, expected behaviour and testing.
  • Use AI to explain and review, then verify: run the code, run the tests and read the result yourself.
  • No AI service is connected to the academy and nothing you type is sent anywhere.
Local storage and privacy
  • Progress is stored in this browser with IndexedDB (or localStorage if IndexedDB is unavailable).
  • On the Portfolio page you can export your data as a JSON file, import it on another device, or delete it all.
Progress and mastery
  • Each lesson moves through Not started, Explored, Practiced, Demonstrated and Mastered.
  • Explored: you opened it or ran an example. Practiced: you passed an exercise or made a prediction. Demonstrated: all three exercises pass and at least 70% of the knowledge check was right first time. Mastered: demonstrated, the debugging investigation solved and at least 90% on the knowledge check.
  • Viewing a page never counts as mastery. Nothing is locked: you can open any available lesson.
Portfolio development
  • The Portfolio page lists your completed lessons, exercises, investigations and projects.
  • Add your own projects with a description, technologies, links and lessons learned, then export a README for GitHub.
  • Academy completion is not an accredited certification.
Accessibility
  • Everything works with a keyboard. In the code editor, Tab indents; press Esc and then Tab to move on.
  • Test results and run summaries are announced to screen readers.
  • The site follows your system's light/dark and reduced-motion settings; the theme button overrides them.
  • The editor is a standard text area, so screen readers and magnifiers work with it.
Presenter Mode
  • Presenter Mode shows a demonstration's narration beside the live academy page.
  • Reset Demo reopens the demonstration's starting page. Demos use their own pages, so your saved work is not overwritten.
  • Each demonstration has its own address and a CSV export for video production.
Troubleshooting
  • Nothing happens when I press Run Code: check that JavaScript is enabled and reload the page. The first run loads the sandbox, which can take a second.
  • My saved work disappeared: private windows and cleared site data remove browser storage. Export your progress regularly from the Portfolio page.
  • The preview is blank: open the console panel below it; an error in the code stops the rest of the script.
  • Still stuck: reset the example and try again, then compare with the lesson's expected output.