Coder Social home page Coder Social logo

calculator's Introduction

The following is my first solo project. The purpose of my project was to know if I can build a calculator with some basic functions.

I’m trying to practice my new skills with Javascript, CSS & Html. The javascript start with a little loop to animate the “Calculator” header. After that, the main function works with a simple object with keys/values that hold the display, number & operator.

You can;

  • Reset with the C button.
  • Reset current number with CE button.
  • Erase the current number one by one with the arrow (🡨).
  • Division/multiplication/subtraction & addition.
  • Change the operator as you want (after the total or with the current operation).
  • When the total button is pressed, numbers are blocked to not cause error.
  • Display the operation / operator & total on the upper side of the “screen”.

Mostly happy with the result right now. There’s some small bug but this will be fix with the upcoming update and more features will be added after that.

Here's the link : https://fabcalculator.netlify.app/

calculator

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.