Skip to content

rayssarrsilva/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Description

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.

Made with

  • Figma (First layout idea)
  • javascript and DOM Manipulation (for the logic and buttons click)
  • HTML
  • CSS and CSS flexbox

Demo

calculadora

installation and collaborations

  1. Fork the repository
  2. open the HTML file to play with it in the console
  3. create another branch
  4. do some modifications inside the new branch
  5. pull request it and wait for some feedback

Features

  • 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

How to use

  • 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

Author

Rayssa r. r. silva

Credits

The odin project | Foundations | Javascript Basics | Project: Calculator

About

add subtract multiply divide made with javascript, html and css

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors