JavaScript
JavaScript makes web pages interactive. These lessons cover the core language — from storing data to writing functions and manipulating the DOM.
Introduction to JavaScript
5 min readLearn what JavaScript is, how to add it to a webpage, and run your first lines of code in the browser.
Variables & Types
7 min readStore and work with data using var, let, and const. Learn strings, numbers, booleans, and more.
Operators
6 min readUse arithmetic, comparison, and logical operators to perform calculations and make decisions.
Conditionals
7 min readControl the flow of your program with if/else statements, ternary operators, and switch.
Loops
7 min readRepeat code efficiently using for loops, while loops, and for...of to iterate over data.
Functions
8 min readWrite reusable blocks of code with function declarations, expressions, and arrow functions.
Arrays
9 min readWork with ordered lists of data and transform them using map, filter, reduce, and more.
Objects
8 min readStore structured data in key-value pairs and use destructuring and spread to work with objects.
DOM Manipulation
9 min readSelect HTML elements from JavaScript and change their content, styles, and behavior.
Events
8 min readRespond to user actions like clicks, keypresses, and form submissions using event listeners.
Project: To-Do App
20 min readBuild a fully interactive to-do app step by step — add, complete, and delete tasks with localStorage.