Languages, Frameworks, and Runtimes
Pick the smallest stack that does the job, check that its version is still supported, and write down the versions you actually used.
Content date: October 15, 2026.
Plain English
A language is how you write instructions. A runtime runs them. A framework is a set of ready-made parts and conventions. JavaScript can run in a browser or in Node.js, but the two can do different things: a browser can't read files on your computer. A framework helps organize a bigger app, but it adds dependencies and upgrade work.
Use this when
Decide this after you've described the first thing a user must be able to do, and before you add a framework or replace an existing stack.
If you are just starting
Start with plain HTML, CSS, and browser JavaScript. The downloadable architecture lab adds Node.js and its built-in modules, with no packages. Use a supported Node.js release with current security fixes. As of October 15, 2026: Node 24 is long-term support (LTS), Node 22 is in maintenance until April 30, 2027, and Node 26, the newest ("Current") release, becomes LTS on October 28. Node 20 reached end of life on April 30, 2026. Run `node --version` to see what you have, and recheck nodejs.org before installing.
When your project grows
For an existing project, keep its supported stack unless a specific need justifies moving. Weigh your team's ability to maintain it, accessibility, hosting limits, community support, and the upgrade path. Record the versions of the language, runtime, framework, package manager, and operating system you tested. That an AI tool knows a framework well counts in its favor but shouldn't decide the choice.
Worked example
A parent club needs a page with meeting times and a demo contact form. Plain HTML files cover it, so there is nothing to install. Months later, members want to log in and see their signups, which needs a server that verifies who is asking. Only then does the club compare one supported Node server setup with its current files, instead of starting with several services behind a static page.
Practice
A stack decision with a review trigger
- Write the first thing a user must be able to do, plus your limits on budget, hosting, and upkeep.
- List what the simplest stack, or your existing one, can already do.
- Compare one alternative only where a requirement shows a real limit in the simple option.
- Run `node --version`, check that version's status on nodejs.org's release page, and record the exact versions on your computer.
- Save your choice, the complexity you rejected, one small task to verify it works, and the situation that would make you revisit it.
Deliverable: A one-page stack decision with the support dates you checked, your actual versions, and a specific review trigger.
Common mistakes to watch for
- You pick a framework for a three-page club site and lose the weekend to setup.
- You follow an old tutorial written for Node 16 and end up without security fixes.
- You assume code that reads a file works in the browser, and the page breaks.
- You add a framework to avoid learning a little HTML, then inherit its upgrades.
Prompting
A weak prompt
Use the newest stack, because it will scale best.
A better prompt
Recommend the smallest stack for this specific job and who will maintain it. If a project exists, inspect it first. Compare what it uses now, or plain HTML, CSS, and JavaScript, with one alternative that has a real reason behind it. Check support dates on the official site, list exact versions, and explain hosting and upkeep costs. Don't add a database, framework, paid service, or migration without a stated need.
A stack chosen for the job and a supported version stays cheap to maintain; one chosen for novelty becomes an upgrade project.
Check before you move on
- The first user task drove the choice.
- You inspected the existing stack first.
- You checked the runtime version is supported.
- You recorded the versions you actually run.
- You left out anything no requirement needs.
You are done when
- The chosen stack can do the first workflow within your time and budget.
- You can explain its upkeep cost and what would make you reconsider.
Questions to think about
Node's release page lists one line as "Current" and another as "LTS." Does either label prove your project works on it?
No. The labels say how long a version gets fixes, not whether your packages work on it. Run your own build and tests.
An AI writes code that reads a file from your computer, and you paste it into a web page. Will it run?
No. Browsers block file access that Node.js allows. You need a server, or let the user pick a file.
When does it make sense to replace a framework that works?
When a concrete problem, like a lost support date or a missing feature, costs more than migrating. Test on a small piece first.