Coder Social home page Coder Social logo

marcusplieninger / eloquent-js Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 180 KB

Solutions to exercises in "Eloquent Javascript, 3rd Edition" by Marijn Haverbeke with tests written using the Jest testing framework

Home Page: https://eloquentjavascript.net

JavaScript 100.00%

eloquent-js's Introduction

Eloquent JavaScript Exercises

  1. Email me for an invite to Slack, to compare/talk about our answers and ask questions. Join our Slack channels #eloquentjavascript, #introduce-yourself, and #job-search.
  2. Install Homebrew, Node (with nvm), Yarn (step 4), Jest (step 4), and ESLint (step 5).
  3. Our goals.
  4. How to create and run Jest tests. How to install Yarn and Jest. Also follow this Jest setup.
  5. Installing ESLint: Part 1. Part 2.
  6. Using the interactive Node terminal (REPL) to develop algorithms.
  7. The best code editor I've ever used is VS Code. I prefer you use it to code. Set it up with Node. My launch.json file and all my advice teaches you to use VS Code most effectively. How to debug in Node. How to set breakpoints in VS Code and stop your Jest tests on certain lines.

This is how you should write code professionally, with Test-Driven Development (with a test framework like Jest), linting (with ESLint), and playing in an interactive terminal (REPL) to figure out the right algorithm. If you can do all this consistently, you're more likely to be hired as a software engineer.

Homework/example problems from all 21 chapters of the book Eloquent JavaScript.

I put Jest software tests and code in same files, ending with .test.js

To run tests: yarn test

If you finish this book, you'll build these 5 awesome projects you could put on your resume:

  1. A robot
  2. Your own programming language
  3. A platform game
  4. A pixel art editor (like Microsoft Paint)
  5. A skill-sharing website

Who wants to finish all 21 chapters with us? Please don't view my solutions before trying your own.

By Raymond Gan

eloquent-js's People

Contributors

marcusplieninger avatar rayning0 avatar

Stargazers

Mondir Hallouli avatar Carmen Canedo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.