Welcome to my Eloquent JavaScript practice repository! This repo is a collection of exercises, notes, and code challenges as I journey through the book Eloquent JavaScript by Marijn Haverbeke. Each folder represents a chapter of the book, filled with examples and coding challenges to solidify my understanding of JavaScript fundamentals and beyond.
JavaScript is the language of the web, and Eloquent JavaScript is a fantastic resource to master it. In this repository, youβll find:
- Key concepts broken down chapter by chapter.
- Code snippets that demonstrate important ideas.
- Challenging exercises and their solutions.
- My thoughts, notes, and βaha!β moments.
Hereβs how the repository is organized:
eloquent-javascript-exercises/
βββ Chapter1-Values, Types, and Operators/
β βββ README.md # Chapter summary
βββ Chapter2-Program-Structure/
β βββ Looping a triangle - Exercise.js
β βββ FizzBuzz - Exercise.js
β βββ Chessboard - Exercise.js
β βββ README.md # Chapter summary
βββ Chapter3-Functions/
β βββ Minimum.js
β βββ Bean counting.js
β βββ Recursion.js
β βββ README.md # Chapter summary
βββ ... More chapters ...
βββ README.md # This readme you're reading right now!
Each chapter has:
- Concepts: Code examples based on key topics.
- Challenges: Exercises to practice each chapterβs lessons, along with my solutions.
- Chapter 1: Values, Types, and Operators
- Chapter 2: Program Structure
- Chapter 3: Functions
- Chapter 4: Data Structures
- Chapter 5: Higher-Order Functions
- Chapter 6: The Secret Life of Objects
- Chapter 7: Project - A Robot
- β¦ More chapters coming soon β¦
- Clone the repo:
git clone https://github.com/yourusername/eloquent-javascript-exercises.git- Navigate to the chapter youβre interested in and explore the code examples or challenges.
- Try the challenges by modifying the challenges/ files or adding your own.
- Run the code: Each file can be executed in the console using Node.js or directly in the browserβs console.
I started this repository to track my progress while reading Eloquent JavaScript and to sharpen my problem-solving skills. By organizing my learnings and exercises here, I can:
- Reinforce my understanding of JavaScript concepts.
- Create a reference point I can come back to in the future.
- Share my work with others who are also learning JavaScript.
- β Chapter 1: Values, Types, and Operators
- β Chapter 2: Program Structure
- β Chapter 3: Functions (In progress)
- β¬ Chapter 4: Data Structures (Coming soon)
- β¬ β¦ More to come!
- Master JavaScript fundamentals and advanced concepts.
- Solve coding challenges effectively.
- Share my journey with other developers and learners.
Feel free to fork this repository and use it as a starting point for your own journey through Eloquent JavaScript. If you spot any mistakes or want to suggest improvements, donβt hesitate to open an issue or a pull request!
Have suggestions, feedback, or just want to chat about JavaScript? Contact me at dussanfreire@gmail.com.
Big shoutout to Marijn Haverbeke for writing such a fantastic book that makes learning JavaScript a joy! If you havenβt checked it out yet, I highly recommend it.
Happy coding! π