17 thoughts on “How to make Calculator using HTML, CSS and JavaScript

  1. Binay Kumar Mahatha Post author

    New internet coming soon


  2. Moises Osegueda Post author

    after doing an operation i use the clear function and i can't write an operation with more of two numbers(like this 12+24 )

    so i check the console and the equal variable get error on line 9 whit the value false

  3. Sittichai Anantarangsi Post author

    would you be kind to do more explaination on
    var exp = ' ', number, decimal, equal, operator, allowSR = true
    what is this?!

  4. ABHIJIT GHOSH Post author

    As a whole class itself you named as "button gray symbol" and "button blue symbol".
    So why not in css section you compose a entire class part in a name of ".button gray symbol " and " .button blue symbol " respectively and then you can add more property in those section as mouse hover or color changing ??
    If I compose a class in your css and add such property as follows

    .button gray number: mouse hover {

    background color= "red " ;

    Is it wrong ??

  5. Yogi Alif Tauhid Post author

    where can i download the source code?

  6. Munene Muondu Post author

    My addition(+), subtraction(-), multiplication(*) and division(/) sign are not working.

  7. Ayush Verma Post author

    Take a look at my calculator made without using table https://www.youtube.com/watch?v=WdEH_R-jawQ https://ayushexploring.github.io/calculator/


Leave a Reply

Your email address will not be published. Required fields are marked *