Skip to content

Developing Work Skills · Career & Development

Programming Foundations with JavaScript

Turn everyday study questions into programs you can explain, test and improve.

Level
Beginner
Estimated study
About 16 hours
Lessons
12 lessons in 4 modules
Format
Online, self-paced

Monthly: $0 today with a card, then $34 on day 8 unless you cancel before then. After the trial, 30 days' notice applies. Active on-campus students have academy access included. Check your existing student account before buying another subscription.

About this course

For complete beginners who have built a web page. In about 16 hours you will learn variables, decisions, functions, loops, arrays and objects by building a study-time calculator, then debug it and write your own tests. You need only a browser and a text editor.

What you will be able to do

  • Use values, conditions, loops, functions, arrays and objects to solve a problem.
  • Trace a program and use error messages to investigate a failure.
  • Check normal, empty and unexpected inputs with small test cases.

Course outline

Module 1: Values and decisions

3 lessons · 3 h 45 min

Work with variables, types, comparisons and branching.

  1. Run your first program and name its values1 h 15 min
  2. Distinguish text, numbers and missing values1 h 15 min
  3. Choose a response with comparisons and branches1 h 15 min

Module 2: Reusable steps

3 lessons · 3 h 45 min

Write functions with clear inputs and outputs, then practice loops.

  1. Package a calculation as a function1 h 15 min
  2. Repeat a calculation with a loop1 h 15 min
  3. Combine helpers into a clear calculation1 h 15 min

Module 3: Collections and objects

3 lessons · 3 h 45 min

Store, filter and transform related information without losing track of the data.

  1. Store sessions in an array and visit each one1 h 15 min
  2. Give each session a meaningful record1 h 15 min
  3. Filter records and transform their presentation1 h 15 min

Module 4: Debug and test

3 lessons · 4 h 45 min

Trace execution, inspect errors and use examples to check your assumptions.

  1. Trace execution and investigate errors1 h 15 min
  2. Check contracts with small example tests1 h 15 min
  3. Deliver the study-time calculator2 h 15 min
Get helpStart 7-day trial