Giter Site home page Giter Site logo

calculator's Introduction

CALCULATOR PROJECT

This is a simple calculator project created using HTML, CSS, and JavaScript. The calculator allows users to perform basic arithmetic calculations, use trigonometric functions, and a few other operators in maths.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division
  • Exponentiation (^) and factorial (!) operations
  • Trigonometric functions: sin, cos, tan, and their inverses (sin⁻¹, cos⁻¹, tan⁻¹)
  • Logarithmic functions: log base 10 and natural logarithm (ln)
  • Square root (√) operation
  • Constants: π (pi)
  • Backspace (del) to delete the last entered character
  • Clear (Clear) to clear the input
  • Responsive design for different screen sizes

Technologies Used

  • HTML: Markup structure of the calculator
  • CSS: Styling and layout of the calculator and buttons
  • JavaScript: Logic for calculator operations and interactivity

Demo

If you want to see a live demo of the calculator, you can visit Demo Link.

Screenshot

Calculator Screenshot

Known Issues

  • I was unable to get the inverse of the trigonometry functions to work.(It works better now)

Improvements made

  • I tried to create functions for every part of it to refactor the code and improve reusability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.