Repository of coding exercises and projects from the book Eloquent JavaScript 3rd edition by Marijn Haverbeke that I have worked on.
Note that some of the projects or exercise solutions use the updated code from the 4th edition.
Note that the checklist below is formatted as below:
{ Chapter No. }.{ Project or Exercise No.}: { Name }
- 2.1 Exercise: Looping A Triangle
- 2.2 Exercise: FizzBuzz
- 2.3 Exercise: Chessboard
- 3.1 Exercise: Minimum
- 3.2 Exercise: Recursion
- 3.3 Exercise: Bean Counting
- 4.1 Exercise: The Sum Of A Range
- 4.2 Exercise: Reversing An Array
- 4.3 Exercise: A List
- 4.4 Exercise: Deep Comparison
- 5.1 Exercise: Flattening
- 5.2 Exercise: Your Own Loop
- 5.3 Exercise: Everything
- 5.4 Exercise: Dominant Writing Direction
- 6.1 Exercise: A Vector Type
- 6.2 Exercise: Groups
- 6.3 Exercise: Iterable Groups
- 6.4 Exercise: Borrowing A Method
- 7.0 Project: A Robot
- 7.1 Exercise: Measuring A Robot
- 7.2 Exercise: Robot Efficiency
- 7.3 Exercise: Persistent Group
- 8.1 Exercise: Retry
- 8.2 Exercise: The Locked Box
- 9.1 Exercise: Regexp Golf
- 9.2 Exercise: Quoting Style
- 9.3 Exercise: Numbers Again
- 10.2 Exercise: Roads Module
- 11.1 Exercise: Tracking The Scalpel (skipped)
- 11.2 Exercise: Building Promise.all
- 12.0 Project: A Programming Language
- 12.1 Exercise: Arrays
- 12.2 Exercise: Comments
- 12.3 Exercise: Fixing Scope
- 14.1 Exercise: Build A Table
- 14.2 Exercise: Elements By Tag Name
- 14.3 Exercise: The Cat's Hat
- 15.1 Exercise: Balloon
- 15.2 Exercise: Mouse Trail
- 15.3 Exercise: Tabs
- 16.0 Project: A Platform Game
- 16.1 Exercise: Game Over
- 16.2 Exercise: Pausing The Game
- 16.3 Exercise: A Monster
- 17.1 Exercise: Shapes (skipped)
- 17.2 Exercise: The Pie Chart (skipped)
- 17.3 Exercise: A Bouncing Ball (skipped)
- 18.1 Exercise: Content Negotiation
- 18.2 Exercise: A JavaScript Workbench
- 18.3 Exercise: Conway's Game Of Life
- 19.0 Project: A Pixel Art Editor (skipped)
- 19.1 Exercise: Keyboard Bindings (skipped)
- 19.2 Exercise: Efficient Drawing (skipped)
- 19.3 Exercise: Circles (skipped)
- 19.4 Exercise: Proper Lines (skipped)
- 20.1 Exercise: Search Tool
- 20.2 Exercise: Direction Creation
- 20.3 Exercise: A Public Space On The Web
- 21.0 Project: Skill-Sharing Website
- 21.1 Exercise: Disk Persistence
- 21.2 Exercise: Comment Field Resets
- 22.1 Exercise: Pathfinding (skipped)
- 22.2 Exercise: Timing (skipped)
- 22.3 Exercise: Optimizing (skipped)