AI Instructor Live Labs Included

JavaScript Fundamentals

Learn JavaScript from scratch — variables, types, control flow, functions, scope, and closures.

Beginner
10h 40m
12 Lessons
JS-100
JavaScript Fundamentals Badge

View badge details

About This Course

Start your JavaScript journey with this hands-on beginner course. Learn variables with let/const, data types, operators, control flow, loops, functions, scope, closures, and string manipulation. Every lesson pairs AI-guided teaching with hands-on coding in VS Code. The capstone builds a complete CLI calculator. Course 1 of 6 in the JavaScript Learning Path.

Course Curriculum

12 Lessons
01
AI Lesson
AI Lesson

Hello JavaScript

30m

What JavaScript is and where it runs, console.log(), variables with let/const/var, data types (string/number/boolean/null/undefined), typeof operator, template literals, comments

02
Lab Exercise
Lab Exercise

Hello JavaScript - Lab Exercises

1h 15m 1 Exercises

What JavaScript is and where it runs, console.log(), variables with let/const/var, data types (string/number/boolean/null/undefined), typeof operator, template literals, comments

Hello JavaScript - Your First JavaScript Program Hello JavaScript - Your First JavaScript Program ~30 min
03
AI Lesson
AI Lesson

Operators and Control Flow

35m

Arithmetic/comparison/logical operators, type coercion and equality (== vs ===), if/else if/else, switch statements, ternary operator, truthy and falsy values

04
Lab Exercise
Lab Exercise

Operators and Control Flow - Lab Exercises

1h 15m 1 Exercises

Arithmetic/comparison/logical operators, type coercion and equality (== vs ===), if/else if/else, switch statements, ternary operator, truthy and falsy values

JavaScript Operators and Control Flow JavaScript Operators and Control Flow ~30 min
05
AI Lesson
AI Lesson

Loops and Iteration

30m

for loops, while loops, do-while, for...of for arrays/strings, for...in for objects, break and continue, nested loops, common iteration patterns

06
Lab Exercise
Lab Exercise

Loops and Iteration - Lab Exercises

1h 15m 1 Exercises

for loops, while loops, do-while, for...of for arrays/strings, for...in for objects, break and continue, nested loops, common iteration patterns

Building Your First JavaScript Loops - The Power of Automation Building Your First JavaScript Loops - The Power of Automation ~30 min
07
AI Lesson
AI Lesson

Functions and Scope

35m

Function declarations vs expressions vs arrow functions, parameters and default values, return values, scope (global/function/block), closures, callback functions, higher-order functions intro

08
Lab Exercise
Lab Exercise

Functions and Scope - Lab Exercises

1h 15m 1 Exercises

Function declarations vs expressions vs arrow functions, parameters and default values, return values, scope (global/function/block), closures, callback functions, higher-order functions intro

JavaScript Functions and Scope - Building a Calculator App JavaScript Functions and Scope - Building a Calculator App ~30 min
09
AI Lesson
AI Lesson

Strings and Numbers

30m

String methods (slice/split/join/trim/replace/includes/startsWith), template literals with expressions, Number methods (parseInt/parseFloat/toFixed), Math object (random/floor/ceil/round/max/min), type conversion

10
Lab Exercise
Lab Exercise

Strings and Numbers - Lab Exercises

1h 15m 1 Exercises

String methods (slice/split/join/trim/replace/includes/startsWith), template literals with expressions, Number methods (parseInt/parseFloat/toFixed), Math object (random/floor/ceil/round/max/min), type conversion

Working with JavaScript Strings and Numbers Working with JavaScript Strings and Numbers ~30 min
11
AI Lesson
AI Lesson

Capstone Briefing Build a CLI Calculator

30m

Capstone briefing: review all fundamentals, plan the CLI calculator architecture, discuss input validation, formatted output, and modular design

12
Lab Exercise
Lab Exercise

Capstone Build a CLI Calculator

1h 15m 1 Exercises

Capstone combining all fundamentals: variables, control flow, loops, functions, strings, numbers. Build an interactive calculator with input validation and formatted output

Capstone: Build a CLI Calculator Capstone: Build a CLI Calculator ~30 min

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 6 Hands-on Lessons
  • Completion Badge
JavaScript Fundamentals Badge

Earn Your Badge

Complete all lessons to unlock the JavaScript Fundamentals achievement badge.

Category
Skill Level Beginner
Total Duration 10h 40m
JavaScript Fundamentals Badge
Achievement Badge

JavaScript Fundamentals

Demonstrates proficiency in JavaScript basics — variables, types, control flow, functions, scope, and closures.

Course JavaScript Fundamentals

Skills You'll Earn

JavaScript Functions Scope Closures Control Flow

Complete all lessons in this course to earn this badge