Skip to content

marley/fcc-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

This project was created as one of my final projects for the FreeCodeCamp Frontend Frameworks certification. It was bootstrapped with Create React App.

>> Try it out!

Screen Shot 2021-04-24 at 1 19 31 PM

To Run

  1. Run yarn start
  2. Calculate!

Running tests

  1. Click the hamburger menu in the upper left corner
  2. Select "Javascript Calculator" from the dropdown menu
  3. Click "Run Tests"

Todo

(Not required by FCC)

  • Clear display if user starts entering new number after equals (instead of appending to old number)
  • Add handling for long inputs so display doesn't stretch
  • Add handling for long calculation results so display doesn't stretch

Links

The following are things I learned over the course of creating this app.