Practice
JavaScript Practice
BasicHands-on JavaScript lessons - write real functions, run them instantly, and get checked by real tests.
Lessons
- Variables and expressions
- Functions
- Conditionals
- Arrays: map, filter, and reduce
- Objects
- Closures
- Classes and inheritance
- Fix the bug: read the stack trace
- Curry and partial application
- Array set operations
- Object + array combined search
- Roman numeral converter
- Caesar cipher
- Smallest common multiple
- Capstone: shopping cart total
- Fix the bug: sort() quietly sorts numbers as text
- Fix the bug: || quietly eats a real zero
- Fix the bug: one user's edit changes everyone
- Fix the bug: map(parseInt) quietly returns the wrong numbers
- Fix the bug: the checkout refuses a correct total
- Capstone: JSON numbers that arrive as strings