JS
201 chapters
Learn JavaScript
A complete, beginner-friendly guide to JavaScript — the language that makes web pages interactive. Learn variables, functions, objects, the DOM, browser events, promises, async/await, classes, and the Fetch API, with runnable examples and practice tasks in every chapter.
Javascript Basic
- Introduction
- Start using Javascript
- JS Comments
- JS with DOM
- JS Use Strict
- JS Variables
- JS Data Types
- JS Type Conversions
- JS Interactive Functions
- JS Operators
- JS Comparison operators
- JS Logical Operators
- JS Nullish Coalescing (??)
- JS Conditional operators
- JS Switch
- JS Loops
- JS Functions
- JS Function Expressions
- JS Arrow Functions
- JS ES6
Objects: the basics
Data types
Advanced functions
- JS Recursion and Stack
- JS Rest Parameters and Spread Syntax
- JS Variable scope
- JS The Old “var”
- JS Global Object
- JS Function object, NFE
- JS The “new function” Syntax
- JS setTimeout and setInterval
- JS Decorators and forwarding, call/apply
- JS Debounce & Throttle
- JS Function Binding
- JS Arrow functions revisited
- JS Closures
Object properties configuration
Javascript HTML DOM
- DOM Introduction
- The DOM Nodes
- Selecting DOM Elements
- Manipulating the DOM
- Working with Styles in DOM
- Event Handling in DOM
- Traversing the DOM
- DOM Manipulation Techniques
- Working with Forms in DOM
- Advanced DOM Techniques
- DOM Manipulation Libraries
- DOM Browser Compatibility
- DOM Accessibility Considerations
- Debugging and Tools
- Performance Optimization
- Interactive Elements and Widgets
Prototypes, inheritance
Classes
Error handling
Promises, async/await
Generators, advanced iteration
Modules
Miscellaneous
Frames and windows
Binary data, files
Document
Introduction to Events
UI Events
Forms, controls
Document and resource loading
Various
Javascript References
Network requests
Storing data in the browser
Animation
Web Components
Regular expressions
- JS Regex
- Patterns and Flags
- Character Classes
- Unicode: flag "u" and class \p{...}
- Anchors: string start ^ and end $
- Multiline Mode of Anchors ^ $, Flag "m"
- Word Boundary: \b
- Escaping, Special Characters
- Sets and ranges [...]
- Quantifiers +, *, ? and {n}
- Greedy and Lazy Quantifiers
- Capturing Groups
- Backreferences in pattern: \n and \k<name>
- JavaScript Alternation (OR)
- Lookahead and Lookbehind
- Catastrophic Backtracking
- Sticky flag "y", searching at position
- Methods of RegExp and String