Learn JavaScript: fundamentals
Learn core JavaScript syntax and practical browser scripting for programmers who are new to JavaScript.
No credit card required
Our students work at
About this course
Learn core JavaScript syntax and practical browser scripting for programmers who are new to JavaScript.
Skills you'll gain
Course program
10 modules · 40 lessons · 32 practice tasks.
Set up a simple HTML page with a script tag, run code in DevTools, and use console output to debug.
Work with numeric values, operator precedence, and common math operations using Math utilities.
Create and manipulate strings, understand indexing and common methods, and format output with template literals.
Declare variables with let/const, understand basic types and typeof, and avoid common pitfalls like implicit globals.
Make decisions with boolean logic, comparison operators, and if/else, and understand truthy/falsy behavior.
Define functions in different styles, pass arguments, return computed results, and understand local scope.
Store lists of values, iterate with for/for...of/while, and use common array methods safely.
Represent entities with objects, access and update properties, and create reusable blueprints with classes.
Interact with HTML from JavaScript by selecting elements, reading/updating content, and manipulating attributes and classes.
Connect JavaScript to user interactions with event listeners and combine HTML/CSS/JS into a small interactive feature.
Start Learn JavaScript: fundamentals
Create an account to open the lessons, answer the practice, and keep your progress. This one is free in full — nothing here is behind a plan.