This calculator allows user to: sum, subtract, divise and multiply. It have the clear button to clear everything in the display and it's respect values, the Dot button to add decimal numbers allowing one dot per operand, the backspace button that remove the precedant value (operand or operator), Equal button to return the result, Numbers from 0 to 9 and the main four operators.
- Figma (First layout idea)
- javascript and DOM Manipulation (for the logic and buttons click)
- HTML
- CSS and CSS flexbox
- Fork the repository
- open the HTML file to play with it in the console
- create another branch
- do some modifications inside the new branch
- pull request it and wait for some feedback
- Dot button: allow to create decimal numbers and return numbers with decimal results
- clear button: erase every number in the display including the operators and result
- backspace button: remove the last digit be it number in the first operand, second operand or operator
- calculate all size of numbers
- sum, subtract, divise or multiply big and small numbers
- Digit one number
- digit one operator
- digit one number
- digit another operator to see the result and already make another calculus
- Or digit the equal symbol to have the calculus result
Rayssa r. r. silva
The odin project | Foundations | Javascript Basics | Project: Calculator