Skip to content

icarrington/Calculator-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To make this calculator I created components for the calculator display, keypad, and each key by mapping over all digits and operators. The app component sets the state for the expression shown in the display by appending the value of the key pressed to the expression. Then, when the equals sign button is clicked, the expression is evaluated.

Deployed to netlify: https://icarringtoncalculator.netlify.app

About

To make this calculator I created components for the calculator display, keypad, and each key by mapping over all digits and operators. The app component sets the state for the expression shown in the display by appending the value of the key pressed to the expression. Then, when the equals sign button is clicked, the expression is evaluated.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors