Most of your Python carries over to JavaScript, which makes the few places where it doesn’t hard to spot. Port a small Python report line for line, and the JavaScript can run without an error and still print Van load: 11 where Python prints Van load: 6.
In this course, you’ll port a city bike-share crew’s dock report from Python to JavaScript, one piece at a time. The report lists the empty and nearly full docks and works out how many bikes the van should start with. The course moves quickly past what works as it does in Python and spends its time on what’s different.
By the end of this course, you’ll be able to:
- Name values with
constandlet, and build strings with template literals where Python uses f-strings - Make decisions with
ifandelse, and loop over an array withfor...of - Write functions with
function, and small ones as arrows - Use arrays as lists and objects as dicts
- Spot where a line-for-line port from Python goes wrong
- Port the whole dock report to JavaScript and run it
Each topic gets fuller treatment in a later course.
You’ll need solid Python experience and the JavaScript starting skills: running a .js file with node, using Node’s REPL, printing with console.log(), modules, strict mode, declaring names with const, reading a stack trace, and undefined. The examples use Node 26 and Python 3.15.
The course mixes short videos and text lessons with exercises, a project that ports the whole report, a quiz, and a summary.
What’s Included:
- 17 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 5 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: