Loading video player…

Welcome to the Bike-Share Dock Report

This course is a quick tour of JavaScript for Pythonistas. It takes familiar Python programs into JavaScript, focusing on the differences. More detailed courses on each topic follow it. Your project is a city bike-share crew’s Python dock report, ported to JavaScript. The crew moves bikes from full docks to empty ones; its report lists empty docks, nearly full docks, and the van’s starting load.

The Python program prints Van load: 6. Its JavaScript port runs without an error, but prints Van load: 11 for the same docks and rules. Why eleven? The course will resolve that question.

By the end, you’ll be able to:

  • Name values and build strings
  • Make decisions and loop
  • Write functions
  • Use arrays and objects
  • Port the dock report to JavaScript

Bring your Python programming experience and the JavaScript starting skills: running a JavaScript file, using the interactive prompt, printing, modules, strict mode, declarations with const, reading a stack trace, and undefined. Current Node and Python installations work; the examples use Node 26 and Python 3.15.

Short videos mix with text lessons and exercises. Every video has a summary below it. A quiz and summary close the course. Next up: Naming Values With const and let, where you start the report’s declarations.

Download

Sample Code (.zip)

7.6 KB
Download

Course Slides (.pdf)

804.4 KB

Become a Member to join the conversation.