JavaScript · Beginner
JavaScript Fundamentals
Learn JavaScript from the ground up through interactive, hands-on sessions.
- Units
- 4
- Lessons
- 20
- Practice questions
- 22
- Minutes
- ~300

Start learning today
Try every course free for 7 days. After that, this course is in Learnix Pro (KES 699/month).
Create free account Log inHow the lessons work
Clear explanations
Step-by-step lessons in plain language
99 in this course
Worked examples
Real code and examples you can copy and run
67 in this course
Quick checks
Test your understanding as you go
45 in this course
Fill the blank
Recall the key commands and syntax
5 in this course
Hands-on workspace
A practical task at the end of every lesson
5 in this course
Syllabus
-
1.1
JavaScript Basics
JavaScript · Session 1
-
1.2
Operators & Conditionals
JavaScript · Session 2
-
1.3
Functions
JavaScript · Session 3
-
1.4
Arrays & Loops
JavaScript · Session 4
-
1.5
Text, Numbers & Dates: Formatting Like a Pro
Clean up text, avoid money rounding bugs, show KES amounts properly with Intl, and work with dates.
-
2.1
The DOM: Selecting & Changing Content
JavaScript · Session 5
-
2.2
DOM Styling & classList
JavaScript · Session 6
-
2.3
Events
JavaScript · Session 7
-
2.4
Event Bubbling & Delegation
Ever wonder why clicking a button sometimes seems to trigger its parent's click handler too? That's bubbling, and once you understand it, you can use ONE listener to handle clicks on hundreds of elements, even ones that don't exist yet.
-
2.5
Forms & Validation
JavaScript · Session 8
-
3.1
Array Methods Deep Dive: map, filter, reduce
You've used push, for and forEach to work with arrays. Now meet the three methods that professional JavaScript code leans on constantly: map (transform), filter (select), and reduce (combine).
-
3.2
Objects & JSON
An array is a numbered LIST of things. An object is a single THING with labeled properties, like a filled-out form instead of a shopping list. And JSON is just objects and arrays written down as text, the format the entire web uses to move data around.
-
3.3
Classes & Objects in JavaScript
Bundle data and behaviour into classes, use getters and private fields, and extend classes with inheritance.
-
3.4
Saving Data in the Browser: localStorage
Remember settings, carts and drafts between visits with localStorage, safely and with JSON.
-
3.5
Error Handling with try/catch
Without any error handling, one broken line stops your ENTIRE script cold. try/catch is a safety net: it catches the failure, lets you respond sensibly, and keeps the rest of your page running.
-
4.1
Promises & async/await
Understand how JavaScript waits for slow things without freezing the page, and write clean async code with error handling.
-
4.2
Fetch API: Getting Data from a Server
Everything you've built so far uses data typed directly into your script. Real apps pull data from a server over the network: the fetch() function is how JavaScript asks for it, and how it waits (without freezing) for the answer to come back.
-
4.3
Modules, npm & Modern Tooling
Split code into ES modules, install packages with npm, and use a build tool like Vite for real projects.
-
4.4
Mini Project: A To-Do List
JavaScript · Session 9
-
4.5
Putting It All Together
JavaScript · Session 10 · Capstone
Earn a verifiable certificate
Finish every lesson and pass the 20-question final exam (70% to pass). Each certificate has a unique number anyone can check online.