Skip to content

Tomodi98/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

calculator

Created as part of The Odin Project

See the project in action

Technologies used on the project

The project is created using html, css and vanilla javascript. Git was used to push the project to github.

Instructions

The calculator works as (probably) most calculators do.

Input one number by clicking on the buttons with numbers on them.

Afterwards select an operator (+, -, * or /) and another number to execute the selected operation with.

You can also chain multiple numbers (example: 2 + 6 * 2). Keep in mind that doing so would not yield 14 as expected with usual operator precedence in math. This calculator cannot do that! It evaluates numbers in the order they are input in, so in the given example it would return 16.

Try dividing by 0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published