José Cabeda's Blog

Free Code Camp Calculator

June 18, 2018

To improve some of my knowledge of Frontend I took the FreeCodeCamp (FCC) course. It’s a fantastic way to starting making some projects if you are just starting coding or don’t have any ideia of where to start.

This was one of my first projects in react and, although it isn’t perfect, I think the result is pretty good.

In terms of libraries I’ve used the following:

  • react
  • typescript
  • Bootstrap 4 (Alpha 6)
  • Math.js

As a rule I prefer to substitute babel with typescript and use bootstrap to speed up the project design.

Math.js is a crucial library (it’s the one suggested by FCC) which takes cares of all the math.

One example of using it:

// (3 + 4) *2
    .done() // The output is 14 

The final result is the following:

Hope you have a great day :-)

José Cabeda Profile Image

Hi there! I'm José Cabeda, a software developer writing a line of code at a time (when not travelling or reading some science fiction book) Contact on Linkedin