Where Python’s float("n/a") raises an error, JavaScript’s Number("n/a") quietly returns NaN, so a line-by-line port lets bad rows into the total. And JavaScript’s catch takes every error, so a ported throw new ValueError(...) reports ValueError is not defined.
In this course, you’ll port a food bank treasurer’s Python donation import to JavaScript. This is the Fast Track version of the course, for learners with more Python experience, and it’s the one on the Intermediate and Advanced paths. It covers the same ground faster, in shorter lessons.
By the end of this course, you’ll be able to:
- Catch errors, and check for the problems JavaScript doesn’t throw on
- Throw your own errors with clear messages
- Catch only the errors you expect, and handle a missing file
- Find out what went wrong from a stack trace and your logs
- Port the whole donation import to JavaScript
You’ll need Python’s try, except, else, and finally, raising errors, and tracebacks, plus Node 26 and JavaScript functions, arrays, objects, loops, modules, and await readFile(). The Python examples use Python 3.15.
Short videos and text lessons mix with exercises, a project that ports the donation import, and a quiz.
What’s Included:
- 17 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 4 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: