JavaScript code has its own shape. Its blocks, comments, statements, line breaks and names follow JavaScript’s rules, so a port that looks right by Python’s rules can behave differently, and JavaScript that reads like Python stands out to JavaScript developers. This course helps you write the JavaScript way.
Your project is a small web agency’s end-of-day release note. Whoever ships last edits the settings, runs the script and pastes the note into the client’s channel. The client is Fernleaf Bakery, the version is 2.4.1, and Maya is deploying. You’ll port the Python script to JavaScript without changing its intended behavior.
In the video, nine bugs were opened and nine closed today, so Python’s if skips both reminder lines. A teammate adds the same triage reminder to the JavaScript port, indented as in Python. On a clean day, the note shouldn’t announce a triage call, and the next video finds out what that edit does.
By the end of this course, you’ll be able to:
- Read and write blocks, including empty blocks, and comment and document code
- End statements and split long lines safely
- Distinguish expressions from statements and avoid assignment in a condition
- Choose JavaScript names and use a formatter for consistent style
- Port the release-note script, completing its final pieces in the last exercise
You need to write Python comfortably and know basic JavaScript: running a script, const, let, if and functions. Have a current Node.js installed. The examples use Node 26 and Python 3.15; a current version of each is fine. Strong Python knowledge is the starting point; the course explains the JavaScript differences as they arise.
Short videos mix with text lessons and exercises. Every video has a summary below it. The project brings the port together, and a final exercise finishes it. A quiz and a summary close the course.
Next up: Reading Blocks by Their Braces, which returns to the clean-day teammate edit.