Courses
JavaScript Intermediate: Write Code That Doesn't Fall Apart When the Data Changes
Check Yourself: Set Up Projects That Don't Break Each Other
Five scenario questions on Node, npm, versions and lock files. If you miss more than one, go back to the lock file lesson before you touch a build server.
Course content
Join this Course
Sign in to save your progress.
-
Set Up Projects That Don't Break Each Other
-
Node.js and npm: Running JavaScript Outside the Browser
-
package.json and Lock Files: Same Install Every Time
-
-
-
Organize Code Other People Can Read
-
JavaScript Modules: import, export and Splitting One Big File
-
JavaScript Classes: When an Object Literal Is No Longer Enough
-
Destructuring and Spread Without the Confusion
-
-
-
Work With Real Data
-
Array Methods: map, filter, reduce and When a Loop Is Clearer
-
Working With JSON: parse, stringify and What Breaks
-
Dates in JavaScript Without Losing a Day
-
-
-
Waiting for Things
-
Callbacks to Promises: Why the Code Runs Out of Order
-
async/await and fetch: Calling a Real API
-
-
-
Prove It Works Before Someone Else Finds Out
-
try/catch and Custom Errors
-
Your First Tests With Vitest
-
-
- Final Check: JavaScript Intermediate
1.
You copied a script that uses document.querySelector into a Node file and got "ReferenceError: document is not defined". What does that tell you?
2.
A teammate says "just install the tool with npm install -g so it works everywhere". What's the risk?
3.
You cloned a project and want exactly the versions your team tested. Which command?
4.
The build server fails with "npm ci can only install packages when your package.json and package-lock.json are in sync". What's the right fix?
5.
package.json says "dayjs": "^1.11.23". Which version could a fresh install without a lock file pick?
About
Five scenario questions on Node, npm, versions and lock files. If you miss more than one, go back to the lock file lesson before you touch a build server.
- Duration
- 5 min
- Last update
- 08/30/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.