Easy

Javascript

Html

Css

Calculator

a simple calculator application using HTML, CSS, and JavaScript

A calculator is a common tool that we use for basic arithmetic operations. In this project, you will create a simple calculator using vanilla JavaScript, HTML, and CSS.

Project Checklist

  • A display for showing the result of calculations
  • Buttons for the digits 0-9 and the basic arithmetic operations (+, -, *, /)
  • A way to clear the display and start a new calculation

Bonus Project Checklist Items

  • Can you add support for decimal numbers and the modulo operator?
  • Can you add support for more advanced calculations, such as square roots and exponents?