Skip to content

MatthewGarner/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Basic calculator built with HTML/CSS/JS (Re-building Feb 2024)

Basic logic in place - to revisit after some more learning! To Do:

  • Handle decimal inputs
  • Styling
  • Add backspace
  • Handle keyboard input

Done:

  • Arithmetic functions
  • Add variables for calculator operations
  • Add generic function to operate given 2 numbers and requested operation
  • Add HTML for calculator pad + display
  • Add clear button to reset calculator
  • Add function to update display
  • Wire up HTML + JS
  • Handle case where 2nd operator pressed rather than equals
  • Handle calculations where user uses result of first calculation in a follow-up

Brief: The Odin Project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published