You already know Python. This course gets JavaScript running on your computer, and starts you
on the ways JavaScript does things differently. Here’s a first taste: one line of a setup-check
script, with platfrom typed instead of platform. First in Python:
print("OS:", sys.platfrom)
Python stops with an AttributeError and asks whether you meant .platform. Here’s the same
slip in a JavaScript port of the script:
console.log("OS:", process.platfrom);
When you run it, it prints its report without an error:
Node 26.13.0
OS: undefined
Folder: /Users/you/onboarding-check
That undefined is JavaScript’s way of saying there’s no value there, and you’ll get to know
it well in this course. Some JavaScript reads close to the Python you know, but other parts
follow their own rules, and they change what happens when something goes wrong. This course shows you why the port ran
without an error, and how you’d spot the slip.
JavaScript runs in every browser and in several runtimes, such as Node, Deno, and Bun. This course uses Node, a common way to run JavaScript outside the browser.
You’ll work on a project to learn the key concepts in this course. You’ll help a small product team whose new developers run a setup check on their first morning. It prints their language version, operating system, and current folder, then the team’s next steps, and they paste the output into the onboarding channel. The team is moving its tools to Node, and you’ll port the check to JavaScript, one piece at a time.
By the end of this course, you’ll be able to:
- Install Node and try JavaScript in its REPL
- Run a JavaScript script and print with
console.log()instead ofprint() - Make a folder a project with a
package.json, and know what that changes - Read a JavaScript stack trace, which runs the other way up from a Python traceback
- Recognize
undefinedwhen a slip produces it, and find the line that caused it - Port a small Python script to JavaScript and run it
To start, you only need to know how to run a Python script and use Python’s REPL. You don’t need to know any JavaScript yet, and you don’t need Node: the next lesson installs it. The examples use Node 26 and Python 3.15, and a current version of each is fine.
The course mixes short videos and text lessons, with exercises where you write the code yourself. Every video has a summary below it, so you can review without rewatching. A project puts the setup check together, and a quiz and a summary close the course.
Next up: Installing Node, where you install Node and check that it runs.