Sent on Mar 21, 2018

How to build a calculator

Happy Wednesday! This Wednesday is really special to me. Why? Because it’s my birthday 😉.

Most birthday boys (and girls) tend to ask for favors. I used to do that too. But this year, today, I want to do something different. Instead of asking you for a favor, I want to double down my efforts to help you become a better frontend developer.

What can I do to help you out the most? I thought about this question for a long time, and I’ve come to an answer that I’m happy with—I can help you learn to code from scratch through a series of articles.

Excellent idea, yes? I’m so proud of myself for thinking about this 😄.

For this series, I want to teach you how to make a calculator from scratch. Why a calculator?

Many people think that calculators are easy; but they’re not. They’re pretty difficult to produce if you’re totally new to JavaScript. If you can make one, you definitely have enough logic skills to make any component you want.

This series contains three articles. They will show you:

  1. How to begin thinking about building a calculator
  2. How to go about making your calculator robust
  3. How to refactor the calculator code with JavaScript best practices

Before I send you the first article, let me ask you a question.

Do you have any questions about frontend development?

Hit reply and tell me your biggest struggle with frontend development. It can be on any topic—CSS, JavaScript, accessibility, you name it. I want to help. I’ll read every reply and I’ll respond to as many as I can.

Now, here’s the article:

https://zellwk.com/blog/calculator-part-1/

Enjoy!

Stay awesome,
Zell