JavaScript Basics in Short Lessons (freeCodeCamp)
- Course audio
- Course audio: English
- Level
- Beginner
- Length
- 36 lessons · 3 hours
What you'll be able to do
- Declare variables and work with strings, numbers and arrays
- Write functions, conditions and loops
- Use array methods such as map, filter and reduce
- Explain closures, this and promises, and handle errors
About this course
Thirty-six short English lessons from freeCodeCamp, about 3 hours in total, each focused on one JavaScript idea. The order runs from variables, data types, numbers and strings, to functions, hoisting, comparison operators, if/else, null versus undefined, short-circuit logic, the ternary operator and switch statements. It continues with arrays and their methods, copying arrays, loops, the eight array iteration methods, and objects. Later lessons cover AJAX, JSON, closures, the this keyword, promises, immediately invoked functions, strict mode, timers, error handling with try and catch, and dates. A fit for beginners who prefer quick, single-topic videos, or learners who want a refresher on one concept. Basic computer use is enough to begin.
Before you start: Basic computer use; Basic English listening
Syllabus
36 lessons · 3:00:17 in total
- 1Variables - Beau teaches JavaScript4:06
- 2Data Types - Beau teaches JavaScript6:34
- 3Numbers - Beau teaches JavaScript3:26
- 4String Basics - Beau teaches JavaScript3:32
- 5Strings: [bracket notation] - Beau teaches JavaScript2:00
- 620 String Methods in 7 Minutes - Beau teaches JavaScript7:00
- 7Functions - Beau teaches JavaScript7:18
- 8Hoisting - Beau teaches JavaScript3:27
- 9Comparison Operators & If Else - Beau teaches JavaScript6:26
- 10== vs === - Beau teaches JavaScript3:06
- 11Null vs Undefined - Beau teaches JavaScript3:45
- 12Logical operators && TRICKS with short-circuit evaluation - Beau teaches JavaScript5:11
- 13Ternary Operator - Beau teaches JavaScript4:18
- 14Switch Statements - Beau teaches JavaScript3:20
- 15Arrays - Beau teaches JavaScript4:06
- 16Common Array Methods - Beau teaches JavaScript6:46
- 17Copying Arrays (deep and shallow) - Beau teaches JavaScript5:56
- 18Random numbers & parseInt - Beau teaches JavaScript3:28
- 19For Loops - Beau teaches JavaScript6:37
- 20While / Do While - Beau teaches JavaScript4:58
- 21for in / for of - Beau teaches JavaScript4:32
- 22Array Iteration: 8 Methods - map, filter, reduce, some, every, find, findIndex, forEach6:22
- 23Objects - Beau teaches JavaScript8:40
- 24Objects, part 2: Beau teaches JavaScript4:22
- 25AJAX - Beau teaches JavaScript6:14
- 26JSON - Beau teaches JavaScript2:24
- 27Closures - Beau teaches JavaScript4:48
- 28THIS keyword - Beau teaches JavaScript8:48
- 29Promises - Beau teaches JavaScript5:39
- 30Desktop Notifications - Beau teaches JavaScript4:30
Show all 36 lessons
- 31Immediately Invoked Function Expression - Beau teaches JavaScript3:32
- 32Strict Mode — "use strict" - Beau teaches JavaScript6:16
- 33Check if a property is in an object - Beau teaches JavaScript2:07
- 34setInterval and setTimeout: timing events - Beau teaches JavaScript2:52
- 35try, catch, finally, throw - error handling in JavaScript5:46
- 36Dates - Beau teaches JavaScript8:05
Questions
- How long is this course?
- It has 36 lessons and about 3 hours of video (3:00:17 in total). Your progress is saved lesson by lesson, so you can stop and continue on any device you sign in on, or in the same browser without signing in.
- Is this course in English?
- The lessons are taught in English. The teacher is freeCodeCamp.org; the videos play from their official YouTube channel, and Sabaq adds the lesson order, progress tracking, notes and the summary on this page.
- Who is this course for, and what should I know first?
- It is aimed at beginners: it starts from the basics. Before you start: Basic computer use; Basic English listening.
- Is it free, and do I need an account?
- Yes, it is free to watch and no account is needed. The videos are official uploads by the teacher on YouTube; a free DanixSoft account is optional and only syncs your progress between devices.
- What should I take after this course?
- A good next step on Sabaq is “Harvard CS50x: Introduction to Computer Science”. The “What to take next” list on this page shows more courses at the same or a higher level in the same topic.
What to take next

Harvard CS50x: Introduction to Computer Science
CS50
English26.4 h13 lessonsBeginner

MIT 6.0001: Introduction to Computer Science and Programming in Python
MIT OpenCourseWare
English10 h38 lessonsIntermediate

Harvard CS50's Introduction to Programming with Python
freeCodeCamp.org
English16 h11 lessonsBeginner
Videos by freeCodeCamp.org, played from their official YouTube channel. Subscribe on YouTube
Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.
Lessons listed from the official YouTube playlist. Full playlist on YouTube
Lessons last checked Nov 2026. Course summary and lesson structure by Sabaq.
Report a problem or a rights request